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.0008874/0.0008874, allocations: 84.53 kB / 19.92 MB, free: 4.621 MB / 18.57 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.0009881/0.0009881, allocations: 173.9 kB / 23.21 MB, free: 1.34 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.926/0.926, allocations: 177.2 MB / 203.6 MB, free: 5.746 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.816/1.816, allocations: 388.8 MB / 0.6336 GB, free: 13.04 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: translateModel(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 1 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.182e-05, allocations: 10.22 kB / 1 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.00185/0.001872, allocations: 1.304 MB / 1.002 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.003401, allocations: 1.488 MB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.003426, allocations: 0 / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.003447, allocations: 3.938 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.003526, allocations: 23.84 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.004028, allocations: 207 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.004097, allocations: 47.77 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.004147, allocations: 4 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.004196, allocations: 23.98 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.651e-05/0.004222, allocations: 11.92 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.004238, allocations: 8 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.004593, allocations: 215.5 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.004604, allocations: 8 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.004625, allocations: 11.98 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.004843, allocations: 183.5 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.004847, allocations: 4 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.02e-07/0.004847, allocations: 3.938 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.423e-06/0.004855, allocations: 4 kB / 1.004 GB, free: 10.19 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.0003005/0.005155, allocations: 309.7 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.00519, allocations: 8.75 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.005218, allocations: 8.938 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.477e-05/0.005293, allocations: 109.7 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.005304, allocations: 4.375 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.005316, allocations: 4.375 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.005421, allocations: 67.89 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.005428, allocations: 192 / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.005437, allocations: 4.375 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.005443, allocations: 3.938 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.936e-05/0.005502, allocations: 43.95 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.005628, allocations: 118.1 kB / 1.005 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.00571, allocations: 73.08 kB / 1.005 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.005744, allocations: 25.72 kB / 1.005 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004724/0.006216, allocations: 264 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.006239, allocations: 30.56 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.00624, allocations: 0 / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001788/0.006418, allocations: 89.95 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.006453, allocations: 81.05 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.006515, allocations: 105.8 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.006525, allocations: 25.7 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.006547, allocations: 80.14 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.006584, allocations: 39.67 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.006613, allocations: 25.72 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.006696, allocations: 318.8 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.006715, allocations: 12 kB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.006744, allocations: 29.7 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.487e-05/0.006799, allocations: 45.81 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.006802, allocations: 4.188 kB / 1.006 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.168e-05/0.006883, allocations: 77.61 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.006895, allocations: 15.88 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.0069, allocations: 0 / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.00691, allocations: 0 / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/0.006963, allocations: 12 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.00697, allocations: 3.938 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.006989, allocations: 7.953 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.006995, allocations: 3.938 kB / 1.006 GB, free: 7.973 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 5.682e-05/0.007052, allocations: 121.9 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.007059, allocations: 4 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.007189, allocations: 89.73 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007192, allocations: 4 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.007197, allocations: 3.938 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.007201, allocations: 3.984 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.865e-05/0.007269, allocations: 121.2 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.007271, allocations: 0 / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.007298, allocations: 19.98 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.007298, allocations: 0 / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.007304, allocations: 4.031 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007305, allocations: 0 / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.007307, allocations: 7.938 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.142e-05/0.007398, allocations: 109.8 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.007422, allocations: 11.94 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-06/0.007431, allocations: 4 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-06/0.00744, allocations: 0 / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.007463, allocations: 11.92 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.007468, allocations: 8 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.396e-05/0.007492, allocations: 75.28 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007492, allocations: 0 / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001926/0.007685, allocations: 75.73 kB / 1.006 GB, free: 7.238 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.000256/0.007941, allocations: 226.7 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.603e-05/0.008037, allocations: 43.92 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.008038, allocations: 0 / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.008061, allocations: 19.98 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.008232, allocations: 22.17 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.008505, allocations: 168.8 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.008548, allocations: 67.34 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.008577, allocations: 11.97 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.008599, allocations: 16.5 kB / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.008599, allocations: 4 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of Templates: time 0.003378/0.01198, allocations: 1.967 MB / 1.009 GB, free: 4.672 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=800 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 800] 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: 5.232196027413011]