Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004567/0.004567, allocations: 98.16 kB / 15.73 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 192.1 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.548/2.548, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 63.91 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2565, allocations: 162.3 MB / 1.242 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002013/0.2585, allocations: 1.383 MB / 1.243 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003178/0.2617, allocations: 2.909 MB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.2617, allocations: 0 / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.746e-05/0.2618, allocations: 3.938 kB / 1.246 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.914e-05/0.2619, allocations: 43.8 kB / 1.246 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.2624, allocations: 191.1 kB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.2626, allocations: 243.5 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.2627, allocations: 0 / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.2628, allocations: 99.78 kB / 1.247 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.2629, allocations: 119.8 kB / 1.247 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.2629, allocations: 12 kB / 1.247 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.2633, allocations: 131.9 kB / 1.247 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.91e-05/0.2634, allocations: 83.81 kB / 1.247 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.2635, allocations: 99.58 kB / 1.247 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.2638, allocations: 275.1 kB / 1.247 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2638, allocations: 0 / 1.247 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2638, allocations: 3.938 kB / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2638, allocations: 0 / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007627/0.2646, allocations: 0.5431 MB / 1.248 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.2646, allocations: 8.031 kB / 1.248 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.2647, allocations: 50.73 kB / 1.248 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.2648, allocations: 16.84 kB / 1.248 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.265, allocations: 244 kB / 1.248 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.2651, allocations: 28.36 kB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.2651, allocations: 16.38 kB / 1.248 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.2657, allocations: 294.6 kB / 1.248 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2657, allocations: 0 / 1.248 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.2657, allocations: 4 kB / 1.248 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2658, allocations: 4 kB / 1.248 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.2671, allocations: 0.7458 MB / 1.249 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.2675, allocations: 305.2 kB / 1.249 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.2691, allocations: 0.6802 MB / 1.25 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.2696, allocations: 236.4 kB / 1.25 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/0.27, allocations: 392.3 kB / 1.251 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.27, allocations: 38.55 kB / 1.251 GB, free: 444 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.363e-06/0.27, allocations: 4 kB / 1.251 GB, free: 440 kB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.4268/0.6968, allocations: 0.6381 MB / 1.251 GB, free: 16.22 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.6969, allocations: 55.91 kB / 1.251 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.697, allocations: 123.9 kB / 1.252 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.697, allocations: 35.89 kB / 1.252 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.697, allocations: 90.34 kB / 1.252 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.839e-05/0.6971, allocations: 133.3 kB / 1.252 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.6972, allocations: 67.67 kB / 1.252 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.6972, allocations: 327.4 kB / 1.252 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.6977, allocations: 196.1 kB / 1.252 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.6981, allocations: 201.5 kB / 1.253 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008634/0.699, allocations: 362.5 kB / 1.253 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.699, allocations: 0.5312 kB / 1.253 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001023/0.7001, allocations: 471 kB / 1.253 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.7001, allocations: 6.953 kB / 1.253 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7001, allocations: 4.156 kB / 1.253 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.7001, allocations: 5.281 kB / 1.253 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.7004, allocations: 94.83 kB / 1.253 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.7005, allocations: 1.656 kB / 1.253 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.7006, allocations: 56.83 kB / 1.254 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.7007, allocations: 11.72 kB / 1.254 GB, free: 15.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/0.7007, allocations: 142.1 kB / 1.254 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.7008, allocations: 17.14 kB / 1.254 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.7019, allocations: 0.5081 MB / 1.254 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.7019, allocations: 7.672 kB / 1.254 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.7019, allocations: 3.688 kB / 1.254 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7019, allocations: 6.812 kB / 1.254 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.7022, allocations: 318.8 kB / 1.255 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7022, allocations: 0 / 1.255 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.7025, allocations: 93.02 kB / 1.255 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.7025, allocations: 1.875 kB / 1.255 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.7026, allocations: 18.72 kB / 1.255 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7026, allocations: 1.469 kB / 1.255 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7026, allocations: 3.203 kB / 1.255 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.7036, allocations: 0.49 MB / 1.255 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.7036, allocations: 96.06 kB / 1.255 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.7037, allocations: 14.92 kB / 1.255 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.7038, allocations: 35.78 kB / 1.255 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.7041, allocations: 117.4 kB / 1.255 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.7041, allocations: 16.31 kB / 1.255 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.7041, allocations: 100.4 kB / 1.255 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7041, allocations: 0 / 1.255 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003198/0.7045, allocations: 119.3 kB / 1.256 GB, free: 14.52 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.7058, allocations: 1.123 MB / 1.257 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.7068, allocations: 476 kB / 1.257 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7068, allocations: 0 / 1.257 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.7073, allocations: 259.8 kB / 1.257 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.7077, allocations: 74.77 kB / 1.257 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.711, allocations: 2.682 MB / 1.26 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.7112, allocations: 0.7363 MB / 1.261 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003641/0.7116, allocations: 187.7 kB / 1.261 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.7117, allocations: 60.59 kB / 1.261 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.7117, allocations: 0 / 1.261 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.678/5.39, allocations: 7.428 MB / 1.268 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/18.67, allocations: 12.48 kB / 1.268 GB, free: 10.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches