Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007418/0.0007418, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007702/0.0007702, allocations: 210.3 kB / 22.26 MB, free: 3.852 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8533/0.8533, allocations: 230.6 MB / 256 MB, free: 3.438 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.985/1.985, allocations: 0.5036 GB / 0.8087 GB, free: 19.17 MB / 0.6198 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008563/0.0008563, allocations: 66.05 kB / 1.175 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2558, allocations: 180 MB / 1.351 GB, free: 4.699 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001717/0.2575, allocations: 1.337 MB / 1.352 GB, free: 3.348 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.259, allocations: 1.652 MB / 1.354 GB, free: 1.688 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.259, allocations: 0 / 1.354 GB, free: 1.688 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.259, allocations: 3.984 kB / 1.354 GB, free: 1.684 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.2591, allocations: 15.86 kB / 1.354 GB, free: 1.668 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000601/0.2597, allocations: 203.1 kB / 1.354 GB, free: 1.469 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.452e-05/0.2598, allocations: 51.78 kB / 1.354 GB, free: 1.418 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.2598, allocations: 4 kB / 1.354 GB, free: 1.414 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/0.2598, allocations: 19.92 kB / 1.354 GB, free: 1.395 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.58e-05/0.2599, allocations: 19.92 kB / 1.354 GB, free: 1.375 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.2599, allocations: 0 / 1.354 GB, free: 1.375 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.2602, allocations: 231.6 kB / 1.354 GB, free: 1.148 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.2603, allocations: 4 kB / 1.354 GB, free: 1.145 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.2603, allocations: 19.88 kB / 1.354 GB, free: 1.125 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.2605, allocations: 163.8 kB / 1.354 GB, free: 0.9648 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2605, allocations: 0 / 1.354 GB, free: 0.9648 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2605, allocations: 0 / 1.354 GB, free: 0.9648 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2605, allocations: 4 kB / 1.354 GB, free: 0.9609 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002883/0.2608, allocations: 309.8 kB / 1.355 GB, free: 0.6289 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2608, allocations: 8.031 kB / 1.355 GB, free: 0.6211 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.737e-05/0.2608, allocations: 38.75 kB / 1.355 GB, free: 0.5742 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.2609, allocations: 4.891 kB / 1.355 GB, free: 0.5703 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.2609, allocations: 118.4 kB / 1.355 GB, free: 440 kB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.261, allocations: 384 / 1.355 GB, free: 440 kB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.261, allocations: 8.375 kB / 1.355 GB, free: 432 kB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.2611, allocations: 63.53 kB / 1.355 GB, free: 356 kB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-06/0.2611, allocations: 0 / 1.355 GB, free: 356 kB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.2611, allocations: 8 kB / 1.355 GB, free: 348 kB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2611, allocations: 0 / 1.355 GB, free: 348 kB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.2611, allocations: 51.86 kB / 1.355 GB, free: 296 kB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.2613, allocations: 149.5 kB / 1.355 GB, free: 100 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.2613, allocations: 69.08 kB / 1.355 GB, free: 12 kB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.2614, allocations: 29.81 kB / 1.355 GB, free: 15.97 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.2618, allocations: 248 kB / 1.355 GB, free: 15.73 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2619, allocations: 42.5 kB / 1.356 GB, free: 15.68 MB / 1.057 GB Notification: Performance of pre-optimization done (n=9): time 8.91e-07/0.2619, allocations: 0 / 1.356 GB, free: 15.68 MB / 1.057 GB Notification: Performance of matching and sorting (n=9): time 0.0001622/0.262, allocations: 93.59 kB / 1.356 GB, free: 15.59 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.2621, allocations: 81.11 kB / 1.356 GB, free: 15.49 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.758e-05/0.2621, allocations: 89.86 kB / 1.356 GB, free: 15.39 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.2621, allocations: 33.7 kB / 1.356 GB, free: 15.35 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.2621, allocations: 80.14 kB / 1.356 GB, free: 15.27 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.2622, allocations: 31.86 kB / 1.356 GB, free: 15.24 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.2622, allocations: 25.67 kB / 1.356 GB, free: 15.21 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.2623, allocations: 318.8 kB / 1.356 GB, free: 14.89 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.2623, allocations: 8 kB / 1.356 GB, free: 14.88 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.2623, allocations: 33.64 kB / 1.356 GB, free: 14.84 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.026e-05/0.2624, allocations: 45.7 kB / 1.356 GB, free: 14.79 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2624, allocations: 3.938 kB / 1.356 GB, free: 14.79 MB / 1.057 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.668e-05/0.2624, allocations: 81.55 kB / 1.356 GB, free: 14.7 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2624, allocations: 8 kB / 1.356 GB, free: 14.69 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2624, allocations: 0 / 1.356 GB, free: 14.69 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.2625, allocations: 0 / 1.356 GB, free: 14.69 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.309e-05/0.2625, allocations: 16.17 kB / 1.356 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2625, allocations: 0 / 1.356 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.552e-05/0.2625, allocations: 15.88 kB / 1.356 GB, free: 14.66 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.2625, allocations: 4 kB / 1.356 GB, free: 14.66 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 5.106e-05/0.2626, allocations: 117.8 kB / 1.357 GB, free: 14.53 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.2626, allocations: 11.89 kB / 1.357 GB, free: 14.52 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.2627, allocations: 93.66 kB / 1.357 GB, free: 14.42 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2627, allocations: 0 / 1.357 GB, free: 14.42 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.2627, allocations: 7.938 kB / 1.357 GB, free: 14.41 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2627, allocations: 0 / 1.357 GB, free: 14.41 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.341e-05/0.2628, allocations: 132.7 kB / 1.357 GB, free: 14.24 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2628, allocations: 4 kB / 1.357 GB, free: 14.24 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.2628, allocations: 19.92 kB / 1.357 GB, free: 14.22 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2628, allocations: 4 kB / 1.357 GB, free: 14.21 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.2628, allocations: 8.031 kB / 1.357 GB, free: 14.21 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2628, allocations: 4 kB / 1.357 GB, free: 14.2 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2628, allocations: 480 / 1.357 GB, free: 14.2 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.401e-05/0.2629, allocations: 105.8 kB / 1.357 GB, free: 14.08 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.2629, allocations: 23.81 kB / 1.357 GB, free: 14.05 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.263, allocations: 4 kB / 1.357 GB, free: 14.05 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-06/0.263, allocations: 0 / 1.357 GB, free: 14.05 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.263, allocations: 15.97 kB / 1.357 GB, free: 14.04 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.263, allocations: 4 kB / 1.357 GB, free: 14.03 MB / 1.057 GB Notification: Performance of sorting global known variables: time 2.18e-05/0.263, allocations: 79.28 kB / 1.357 GB, free: 13.95 MB / 1.057 GB Notification: Performance of sort global known variables: time 5e-08/0.263, allocations: 0 / 1.357 GB, free: 13.95 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0001994/0.2632, allocations: 71.73 kB / 1.357 GB, free: 13.88 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0004241/0.2636, allocations: 0.7572 MB / 1.358 GB, free: 13.09 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 9.711e-05/0.2637, allocations: 39.97 kB / 1.358 GB, free: 13.05 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2637, allocations: 0 / 1.358 GB, free: 13.05 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 2.179e-05/0.2637, allocations: 27.92 kB / 1.358 GB, free: 13.03 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.2639, allocations: 12.12 kB / 1.358 GB, free: 13.02 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.2643, allocations: 247.6 kB / 1.358 GB, free: 12.73 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.2645, allocations: 0.6884 MB / 1.359 GB, free: 12.02 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.2645, allocations: 15.81 kB / 1.359 GB, free: 12 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.2645, allocations: 19.77 kB / 1.359 GB, free: 11.98 MB / 1.057 GB Notification: Performance of SimCode: time 3.81e-07/0.2645, allocations: 0 / 1.359 GB, free: 11.98 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.2798, allocations: 3.165 MB / 1.362 GB, free: 8.957 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.927/6.206, allocations: 12 kB / 1.362 GB, free: 8.949 MB / 1.057 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.513864492066205]