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.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.0007739/0.0007739, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000772/0.000772, 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.874/0.874, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.761/1.761, allocations: 389 MB / 0.633 GB, free: 12.68 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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.995e-05, allocations: 8.75 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001683/0.001703, allocations: 1.36 MB / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.002745, allocations: 0.9898 MB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.002782, allocations: 3.938 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.15e-05/0.002863, allocations: 11.92 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.591e-05/0.002959, allocations: 35.81 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.003323, allocations: 115.4 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.003495, allocations: 247.4 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.003532, allocations: 4 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.00362, allocations: 115.8 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.295e-05/0.003713, allocations: 119.8 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.003739, allocations: 12 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.003978, allocations: 107.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.004052, allocations: 95.77 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.004111, allocations: 67.89 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.004335, allocations: 267.2 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004337, allocations: 0 / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.213e-06/0.004339, allocations: 4 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.004342, allocations: 0 / 1.003 GB, free: 9.957 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005174/0.00486, allocations: 445.3 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.004898, allocations: 16.69 kB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.004937, allocations: 50.73 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.496e-05/0.005022, allocations: 24.84 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.005205, allocations: 177.5 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.005242, allocations: 28.36 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.005261, allocations: 12.38 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.005637, allocations: 289.7 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.005645, allocations: 192 / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.00566, allocations: 12.12 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.005666, allocations: 7.938 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009712/0.006637, allocations: 0.7217 MB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.006885, allocations: 252.5 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/0.007796, allocations: 0.6409 MB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.008086, allocations: 213.6 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.008282, allocations: 71.95 kB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.008303, allocations: 42.31 kB / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.008305, allocations: 0 / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0009494/0.009254, allocations: 0.659 MB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.009285, allocations: 55.41 kB / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.009359, allocations: 121.8 kB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.009377, allocations: 33.7 kB / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.009412, allocations: 88.78 kB / 1.007 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.009487, allocations: 130.9 kB / 1.007 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.009552, allocations: 69.44 kB / 1.007 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.009631, allocations: 330.8 kB / 1.007 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.009898, allocations: 191.8 kB / 1.008 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.01016, allocations: 197 kB / 1.008 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.01066, allocations: 368.6 kB / 1.008 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01067, allocations: 0 / 1.008 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006274/0.01129, allocations: 468.7 kB / 1.009 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.01131, allocations: 8 kB / 1.009 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01132, allocations: 4 kB / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.01133, allocations: 7.938 kB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.01154, allocations: 95.84 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01155, allocations: 0 / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.01165, allocations: 51.75 kB / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.01167, allocations: 23.97 kB / 1.009 GB, free: 3.926 MB / 0.9636 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.837e-05/0.01175, allocations: 141.8 kB / 1.009 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.01178, allocations: 15.91 kB / 1.009 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000691/0.01247, allocations: 0.5066 MB / 1.009 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.01248, allocations: 7.938 kB / 1.009 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.01248, allocations: 0 / 1.009 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01248, allocations: 0 / 1.009 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.0127, allocations: 272.5 kB / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.0127, allocations: 7.938 kB / 1.01 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.01288, allocations: 95.91 kB / 1.01 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01288, allocations: 0 / 1.01 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.0129, allocations: 11.98 kB / 1.01 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.0129, allocations: 7.875 kB / 1.01 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0129, allocations: 0 / 1.01 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006294/0.01353, allocations: 0.489 MB / 1.01 GB, free: 2.305 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.01356, allocations: 23.78 kB / 1.01 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.01358, allocations: 8 kB / 1.01 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.01366, allocations: 39.89 kB / 1.01 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.01382, allocations: 123.5 kB / 1.01 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.01383, allocations: 19.98 kB / 1.01 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.01387, allocations: 99.2 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01387, allocations: 0 / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002362/0.01411, allocations: 95.86 kB / 1.011 GB, free: 1.902 MB / 0.9636 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.001082/0.01519, allocations: 1.096 MB / 1.012 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006175/0.01581, allocations: 459.4 kB / 1.012 GB, free: 336 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01581, allocations: 0 / 1.012 GB, free: 336 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.0161, allocations: 247.7 kB / 1.012 GB, free: 88 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.01637, allocations: 79.67 kB / 1.013 GB, free: 12 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.01887, allocations: 2.656 MB / 1.015 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.737e-05/0.01895, allocations: 122.6 kB / 1.015 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002531/0.0192, allocations: 181.9 kB / 1.015 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.01929, allocations: 64.45 kB / 1.015 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of SimCode: time 6.61e-07/0.0193, allocations: 0 / 1.015 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.0382, allocations: 8.07 MB / 1.023 GB, free: 5.062 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.495/6.533, allocations: 4.062 kB / 1.023 GB, free: 5.059 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.54225655272603]