Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Antifreeze.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.001096/0.001096, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00105/0.00105, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8849/0.8849, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.651/1.651, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.935e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001848/0.001867, allocations: 1.398 MB / 0.9518 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.004647, allocations: 2.751 MB / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.004695, allocations: 0 / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 8.21e-05/0.004777, allocations: 7.922 kB / 0.9545 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.004888, allocations: 35.81 kB / 0.9546 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.005478, allocations: 198.9 kB / 0.9548 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.0057, allocations: 247.4 kB / 0.955 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/0.005751, allocations: 11.98 kB / 0.955 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.005853, allocations: 111.8 kB / 0.9551 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.005963, allocations: 119.8 kB / 0.9552 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.005991, allocations: 12 kB / 0.9552 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.006314, allocations: 143.8 kB / 0.9554 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.0064, allocations: 99.77 kB / 0.9555 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.006472, allocations: 75.83 kB / 0.9555 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.006792, allocations: 303.1 kB / 0.9558 GB, free: 14 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006794, allocations: 0 / 0.9558 GB, free: 14 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.512e-06/0.006795, allocations: 4 kB / 0.9558 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.0068, allocations: 0 / 0.9558 GB, free: 13.99 MB / 0.9167 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.0006334/0.007434, allocations: 468.9 kB / 0.9563 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.007483, allocations: 12.03 kB / 0.9563 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.007528, allocations: 50.73 kB / 0.9563 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.007628, allocations: 20.8 kB / 0.9564 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.007837, allocations: 182.7 kB / 0.9565 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.007877, allocations: 28.36 kB / 0.9566 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.007897, allocations: 16.31 kB / 0.9566 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.008297, allocations: 283.8 kB / 0.9568 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.00831, allocations: 192 / 0.9568 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.008328, allocations: 11.94 kB / 0.9569 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.008335, allocations: 4 kB / 0.9569 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.009386, allocations: 0.7254 MB / 0.9576 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.009677, allocations: 260.5 kB / 0.9578 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000943/0.01062, allocations: 0.6403 MB / 0.9584 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.01091, allocations: 212.6 kB / 0.9586 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/0.01113, allocations: 75.95 kB / 0.9587 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.01116, allocations: 39.5 kB / 0.9588 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 2.565e-06/0.01116, allocations: 7.984 kB / 0.9588 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.0009774/0.01214, allocations: 0.6564 MB / 0.9594 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.01217, allocations: 55.41 kB / 0.9595 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.01224, allocations: 129.3 kB / 0.9596 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.01226, allocations: 29.7 kB / 0.9596 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.01229, allocations: 92.8 kB / 0.9597 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.01237, allocations: 130.8 kB / 0.9598 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.01244, allocations: 69.67 kB / 0.9599 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.01253, allocations: 326.8 kB / 0.9602 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.01279, allocations: 199.7 kB / 0.9604 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.01306, allocations: 196.8 kB / 0.9606 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.01355, allocations: 368.7 kB / 0.9609 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01355, allocations: 0 / 0.9609 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006066/0.01416, allocations: 457 kB / 0.9614 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.01418, allocations: 7.938 kB / 0.9614 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.01418, allocations: 3.938 kB / 0.9614 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.01419, allocations: 0 / 0.9614 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.01441, allocations: 103.8 kB / 0.9615 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01441, allocations: 7.938 kB / 0.9615 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.01451, allocations: 51.8 kB / 0.9615 GB, free: 7.957 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.01452, allocations: 16 kB / 0.9615 GB, free: 7.941 MB / 0.9167 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.305e-05/0.0146, allocations: 137.8 kB / 0.9617 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.01463, allocations: 15.91 kB / 0.9617 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006681/0.0153, allocations: 0.5255 MB / 0.9622 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.01531, allocations: 4 kB / 0.9622 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01531, allocations: 0 / 0.9622 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01531, allocations: 3.984 kB / 0.9622 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.01553, allocations: 268.5 kB / 0.9625 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01553, allocations: 8 kB / 0.9625 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.01571, allocations: 95.86 kB / 0.9626 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01571, allocations: 0 / 0.9626 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.01573, allocations: 15.92 kB / 0.9626 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01573, allocations: 0 / 0.9626 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01573, allocations: 0 / 0.9626 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/0.01637, allocations: 496.7 kB / 0.9631 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.01639, allocations: 23.78 kB / 0.9631 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01641, allocations: 7.938 kB / 0.9631 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.0165, allocations: 39.95 kB / 0.9631 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.01665, allocations: 119.8 kB / 0.9632 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.01667, allocations: 15.92 kB / 0.9633 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.999e-05/0.01672, allocations: 103.3 kB / 0.9634 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01672, allocations: 0 / 0.9634 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002826/0.017, allocations: 115.8 kB / 0.9635 GB, free: 5.891 MB / 0.9167 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.001136/0.01814, allocations: 1.127 MB / 0.9646 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006945/0.01883, allocations: 459.5 kB / 0.965 GB, free: 4.285 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01883, allocations: 0 / 0.965 GB, free: 4.285 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.01914, allocations: 247.8 kB / 0.9652 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.01943, allocations: 75.92 kB / 0.9653 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.0222, allocations: 2.675 MB / 0.9679 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.02231, allocations: 122.4 kB / 0.968 GB, free: 1.07 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000285/0.02259, allocations: 180.1 kB / 0.9682 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.0227, allocations: 72.39 kB / 0.9683 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.0227, allocations: 0 / 0.9683 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.04754, allocations: 8.535 MB / 0.9766 GB, free: 8.547 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.385, allocations: 3.984 kB / 0.9766 GB, free: 8.543 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.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: 11.422353464178741]