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.001846/0.001846, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.00243/0.00243, allocations: 173 kB / 23.02 MB, free: 1.551 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 1.163/1.163, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.121/2.121, allocations: 429.5 MB / 0.6733 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 2.244e-06/2.244e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.15e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001846/0.001877, allocations: 1.368 MB / 0.8795 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.003954, allocations: 1.627 MB / 0.8811 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.003995, allocations: 0 / 0.8811 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.004026, allocations: 5.047 kB / 0.8811 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.004105, allocations: 7.875 kB / 0.8811 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.004709, allocations: 226.9 kB / 0.8813 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.594e-05/0.004775, allocations: 47.78 kB / 0.8813 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.004812, allocations: 3.938 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.004861, allocations: 27.91 kB / 0.8814 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.652e-05/0.004888, allocations: 15.98 kB / 0.8814 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.004906, allocations: 0 / 0.8814 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.005308, allocations: 215.6 kB / 0.8816 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.005319, allocations: 4 kB / 0.8816 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.005355, allocations: 15.92 kB / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.005615, allocations: 195.4 kB / 0.8818 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005618, allocations: 0 / 0.8818 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005619, allocations: 0 / 0.8818 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.005625, allocations: 0 / 0.8818 GB, free: 2.637 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.0003578/0.005982, allocations: 412.1 kB / 0.8822 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.006015, allocations: 8.031 kB / 0.8822 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.006055, allocations: 12.89 kB / 0.8822 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.006138, allocations: 112.6 kB / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.006149, allocations: 384 / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.00616, allocations: 8.375 kB / 0.8823 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.006267, allocations: 69.61 kB / 0.8824 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.006274, allocations: 192 / 0.8824 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.006283, allocations: 384 / 0.8824 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.006292, allocations: 7.938 kB / 0.8824 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.611e-05/0.006338, allocations: 39.89 kB / 0.8824 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.006463, allocations: 132.3 kB / 0.8826 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.061e-05/0.006543, allocations: 78.08 kB / 0.8826 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.006578, allocations: 31.42 kB / 0.8827 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004487/0.007027, allocations: 244 kB / 0.8829 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.007052, allocations: 45.38 kB / 0.8829 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.007053, allocations: 0 / 0.8829 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001738/0.007227, allocations: 81.58 kB / 0.883 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.007258, allocations: 81.05 kB / 0.8831 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/0.007324, allocations: 161.9 kB / 0.8833 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.007333, allocations: 29.83 kB / 0.8833 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.007363, allocations: 130.9 kB / 0.8834 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.007393, allocations: 23.75 kB / 0.8834 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.007422, allocations: 31.36 kB / 0.8835 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.007531, allocations: 0.4884 MB / 0.8839 GB, free: 220 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.007548, allocations: 11.92 kB / 0.8839 GB, free: 208 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.007575, allocations: 31.36 kB / 0.884 GB, free: 168 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.846e-05/0.007623, allocations: 43.38 kB / 0.884 GB, free: 116 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.007625, allocations: 0 / 0.884 GB, free: 116 kB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.084e-05/0.007706, allocations: 85.5 kB / 0.8841 GB, free: 24 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.007718, allocations: 10.34 kB / 0.8841 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007722, allocations: 0 / 0.8841 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.007734, allocations: 0 / 0.8841 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.007815, allocations: 15.98 kB / 0.8841 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.007837, allocations: 4.141 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.007858, allocations: 4 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.007864, allocations: 0 / 0.8841 GB, free: 15.99 MB / 0.8542 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 6.346e-05/0.007928, allocations: 164.5 kB / 0.8843 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.007941, allocations: 16.12 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.008071, allocations: 105.8 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008073, allocations: 0 / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.008077, allocations: 4 kB / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008081, allocations: 3.938 kB / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.364e-05/0.008155, allocations: 124.6 kB / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.008156, allocations: 0 / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.008187, allocations: 15.98 kB / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.008188, allocations: 0 / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.008195, allocations: 4 kB / 0.8846 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008196, allocations: 480 / 0.8846 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008197, allocations: 0 / 0.8846 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.321e-05/0.00829, allocations: 128 kB / 0.8847 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.008314, allocations: 11.98 kB / 0.8847 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.008323, allocations: 3.984 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/0.008332, allocations: 0 / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.008348, allocations: 4 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.008353, allocations: 11.92 kB / 0.8847 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.008384, allocations: 127.2 kB / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008384, allocations: 0 / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001993/0.008584, allocations: 75.67 kB / 0.8849 GB, free: 15.13 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.0002926/0.008876, allocations: 218.8 kB / 0.8851 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.008983, allocations: 51.58 kB / 0.8852 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.008986, allocations: 4 kB / 0.8852 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.338e-05/0.00901, allocations: 27.67 kB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.009168, allocations: 13.86 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.009602, allocations: 189.9 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.382e-05/0.009636, allocations: 63.28 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.009667, allocations: 11.97 kB / 0.8855 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.009694, allocations: 16.5 kB / 0.8855 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.009695, allocations: 0 / 0.8855 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of Templates: time 0.003642/0.01334, allocations: 2.245 MB / 0.8877 GB, free: 12.25 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.652492864057422]