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.000999/0.000999, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001319/0.001319, allocations: 177 kB / 23.49 MB, free: 1.055 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.9615/0.9615, allocations: 177.1 MB / 203.8 MB, free: 5.293 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 2.103/2.103, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 3.246e-06/3.246e-06, allocations: 3.984 kB / 0.8781 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.394e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.002426/0.00245, allocations: 1.359 MB / 0.8795 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002385/0.004834, allocations: 1.623 MB / 0.8811 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.004877, allocations: 0 / 0.8811 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.004908, allocations: 3.938 kB / 0.8811 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/0.004998, allocations: 15.91 kB / 0.8811 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008006/0.005799, allocations: 218.9 kB / 0.8813 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.48e-05/0.005894, allocations: 39.8 kB / 0.8813 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.005937, allocations: 3.938 kB / 0.8813 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.774e-05/0.006005, allocations: 39.83 kB / 0.8814 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.116e-05/0.006036, allocations: 8 kB / 0.8814 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.006053, allocations: 0 / 0.8814 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005239/0.006577, allocations: 215.6 kB / 0.8816 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.006593, allocations: 7.922 kB / 0.8816 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.006623, allocations: 12 kB / 0.8816 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.006963, allocations: 195.4 kB / 0.8818 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006965, allocations: 3.938 kB / 0.8818 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.81e-07/0.006966, allocations: 0 / 0.8818 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.006971, allocations: 0 / 0.8818 GB, free: 2.926 MB / 0.8386 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.0004116/0.007383, allocations: 412.1 kB / 0.8822 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.007424, allocations: 8.031 kB / 0.8822 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.007474, allocations: 8.891 kB / 0.8822 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.007575, allocations: 112.6 kB / 0.8823 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.007589, allocations: 384 / 0.8823 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.007602, allocations: 8.375 kB / 0.8823 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.007731, allocations: 69.5 kB / 0.8824 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.007739, allocations: 4.188 kB / 0.8824 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.007754, allocations: 384 / 0.8824 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.007763, allocations: 3.938 kB / 0.8824 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.007836, allocations: 43.94 kB / 0.8824 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.007999, allocations: 128.4 kB / 0.8826 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.008108, allocations: 78.05 kB / 0.8826 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.008164, allocations: 35.36 kB / 0.8827 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007016/0.008866, allocations: 252 kB / 0.8829 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.008894, allocations: 37.39 kB / 0.8829 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.008896, allocations: 0 / 0.8829 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002291/0.009125, allocations: 85.56 kB / 0.883 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.009167, allocations: 81.05 kB / 0.8831 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.001e-05/0.009257, allocations: 161.9 kB / 0.8833 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.009271, allocations: 25.7 kB / 0.8833 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.009315, allocations: 126.9 kB / 0.8834 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.009355, allocations: 35.86 kB / 0.8834 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.009398, allocations: 31.38 kB / 0.8835 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.009539, allocations: 496.1 kB / 0.8839 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.377e-05/0.009563, allocations: 8 kB / 0.8839 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.024e-05/0.009603, allocations: 31.36 kB / 0.884 GB, free: 464 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.867e-05/0.009682, allocations: 47.36 kB / 0.884 GB, free: 408 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009684, allocations: 3.938 kB / 0.884 GB, free: 404 kB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001257/0.009809, allocations: 73.62 kB / 0.8841 GB, free: 324 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.009824, allocations: 6.5 kB / 0.8841 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.009828, allocations: 8.031 kB / 0.8841 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.00984, allocations: 0 / 0.8841 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.655e-05/0.009917, allocations: 15.94 kB / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.009925, allocations: 3.938 kB / 0.8841 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.009951, allocations: 7.984 kB / 0.8841 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.00996, allocations: 4 kB / 0.8841 GB, free: 280 kB / 0.8386 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 7.561e-05/0.01004, allocations: 156.6 kB / 0.8843 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.01006, allocations: 11.95 kB / 0.8843 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.01024, allocations: 93.66 kB / 0.8844 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01024, allocations: 0 / 0.8844 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/0.01026, allocations: 4.234 kB / 0.8844 GB, free: 16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.01027, allocations: 8.125 kB / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.01038, allocations: 120.6 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01038, allocations: 0 / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.01043, allocations: 19.98 kB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.01044, allocations: 3.984 kB / 0.8845 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.01045, allocations: 8 kB / 0.8845 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01045, allocations: 0 / 0.8845 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01045, allocations: 3.938 kB / 0.8846 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.01061, allocations: 123.9 kB / 0.8847 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.01064, allocations: 15.98 kB / 0.8847 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.01065, allocations: 0 / 0.8847 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.01067, allocations: 0 / 0.8847 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.0107, allocations: 15.92 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.0107, allocations: 7.938 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.01075, allocations: 119.2 kB / 0.8848 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01075, allocations: 0 / 0.8848 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003344/0.01108, allocations: 83.67 kB / 0.8849 GB, free: 15.41 MB / 0.8542 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.0004036/0.01149, allocations: 210.9 kB / 0.8851 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01163, allocations: 48.06 kB / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01163, allocations: 0 / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.337e-05/0.01167, allocations: 31.91 kB / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.01192, allocations: 24.22 kB / 0.8852 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005835/0.0125, allocations: 185.9 kB / 0.8854 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.13e-05/0.01254, allocations: 63.3 kB / 0.8854 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.893e-05/0.01259, allocations: 11.92 kB / 0.8854 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.01262, allocations: 12.5 kB / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.01262, allocations: 4 kB / 0.8855 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of Templates: time 0.004633/0.01725, allocations: 2.015 MB / 0.8874 GB, free: 12.78 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.csv","",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.486117349006236]