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.0008488/0.0008488, 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.0009603/0.0009603, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8691/0.8691, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.709/1.709, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 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 2.736e-06/2.736e-06, allocations: 4 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.358e-06/1.209e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001345/0.001357, allocations: 1.298 MB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.002667, allocations: 1.496 MB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.002688, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.002706, allocations: 7.875 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.118e-05/0.002767, allocations: 15.8 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.003192, allocations: 215 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.003249, allocations: 43.72 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.201e-05/0.003281, allocations: 11.98 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.003323, allocations: 23.98 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.425e-05/0.003347, allocations: 19.91 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.003358, allocations: 0 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.003658, allocations: 215.5 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.836e-06/0.003667, allocations: 4 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.003683, allocations: 8 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.003873, allocations: 195.5 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003875, allocations: 0 / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003876, allocations: 0 / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.003879, allocations: 4 kB / 1.003 GB, free: 9.949 MB / 0.9636 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.0002716/0.004151, allocations: 305.8 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.004184, allocations: 12.75 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.00421, allocations: 34.75 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.004231, allocations: 8.875 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.237e-05/0.004293, allocations: 105.8 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.004303, allocations: 4.375 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.00431, allocations: 4.375 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.312e-05/0.004403, allocations: 67.89 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.004409, allocations: 192 / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.00442, allocations: 8.125 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.004425, allocations: 8 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.374e-05/0.004479, allocations: 35.95 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.004595, allocations: 145.6 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.271e-05/0.004667, allocations: 73.05 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.004698, allocations: 29.77 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004367/0.005135, allocations: 251.8 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.005151, allocations: 34.56 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 9.71e-07/0.005152, allocations: 0 / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001561/0.005308, allocations: 89.78 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.00534, allocations: 85.11 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.097e-05/0.005381, allocations: 97.8 kB / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.005389, allocations: 25.7 kB / 1.004 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.937e-05/0.005408, allocations: 84.25 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.005435, allocations: 35.72 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.005462, allocations: 25.72 kB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.005529, allocations: 322.9 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.005548, allocations: 12 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.005571, allocations: 29.7 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.901e-05/0.00562, allocations: 45.77 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.005623, allocations: 4 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.076e-05/0.005693, allocations: 73.62 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.005703, allocations: 4 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.005708, allocations: 4 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005718, allocations: 3.938 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.511e-05/0.005763, allocations: 20.02 kB / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.005768, allocations: 0 / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.005784, allocations: 11.89 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.005789, allocations: 7.938 kB / 1.005 GB, free: 7.652 MB / 0.9636 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 4.719e-05/0.005836, allocations: 109.8 kB / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.005847, allocations: 8.125 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.005964, allocations: 109.7 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.005968, allocations: 7.922 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.005972, allocations: 4 kB / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.005975, allocations: 0 / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.768e-05/0.006042, allocations: 136.8 kB / 1.005 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006044, allocations: 4 kB / 1.005 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.006067, allocations: 12 kB / 1.005 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.006068, allocations: 0 / 1.005 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.006074, allocations: 3.984 kB / 1.005 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.006076, allocations: 7.938 kB / 1.005 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006077, allocations: 0 / 1.005 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.769e-05/0.006155, allocations: 101.9 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.006177, allocations: 19.88 kB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-06/0.006185, allocations: 0 / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.006196, allocations: 7.938 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.006209, allocations: 11.98 kB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.006212, allocations: 4 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.999e-05/0.006232, allocations: 79.27 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006232, allocations: 0 / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001743/0.006406, allocations: 75.75 kB / 1.006 GB, free: 6.879 MB / 0.9636 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.0005629/0.006969, allocations: 0.7612 MB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.443e-05/0.007054, allocations: 43.92 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007055, allocations: 7.875 kB / 1.007 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.051e-05/0.007075, allocations: 24.17 kB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.007232, allocations: 19.92 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.007553, allocations: 227.1 kB / 1.007 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.308e-05/0.007586, allocations: 67.47 kB / 1.007 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.007612, allocations: 15.92 kB / 1.007 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.007636, allocations: 16.5 kB / 1.007 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of SimCode: time 2.41e-07/0.007637, allocations: 0 / 1.007 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.02259, allocations: 3.76 MB / 1.011 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.335/6.357, allocations: 7.922 kB / 1.011 GB, free: 2.004 MB / 0.9636 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.303997736424208]