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.001046/0.001046, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009604/0.0009604, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.9726/0.9726, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.102/2.102, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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 1.633e-06/1.633e-06, allocations: 0 / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.405e-05, allocations: 10.19 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001844/0.001868, allocations: 1.361 MB / 0.8807 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.003861, allocations: 1.61 MB / 0.8823 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.003896, allocations: 0 / 0.8823 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.003925, allocations: 0 / 0.8823 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.482e-05/0.00402, allocations: 11.86 kB / 0.8823 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.004616, allocations: 226.9 kB / 0.8825 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.004691, allocations: 39.8 kB / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.004734, allocations: 3.938 kB / 0.8825 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.004795, allocations: 35.89 kB / 0.8826 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.974e-05/0.004825, allocations: 11.98 kB / 0.8826 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.004842, allocations: 0 / 0.8826 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.005233, allocations: 215.6 kB / 0.8828 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.005245, allocations: 4 kB / 0.8828 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.005268, allocations: 15.94 kB / 0.8828 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.005517, allocations: 191.4 kB / 0.883 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.005519, allocations: 0 / 0.883 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.41e-07/0.00552, allocations: 0 / 0.883 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.005525, allocations: 0 / 0.883 GB, free: 2.344 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.0003838/0.005909, allocations: 412.1 kB / 0.8834 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.005948, allocations: 8.031 kB / 0.8834 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.005984, allocations: 8.891 kB / 0.8834 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.006079, allocations: 116.5 kB / 0.8835 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.006092, allocations: 4.375 kB / 0.8835 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.006101, allocations: 8.375 kB / 0.8835 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.006198, allocations: 65.61 kB / 0.8836 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006206, allocations: 192 / 0.8836 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.006213, allocations: 384 / 0.8836 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.006219, allocations: 7.922 kB / 0.8836 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.006263, allocations: 39.89 kB / 0.8836 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.006392, allocations: 109 kB / 0.8837 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.917e-05/0.006471, allocations: 74.11 kB / 0.8838 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.006504, allocations: 31.42 kB / 0.8838 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000461/0.006965, allocations: 247.8 kB / 0.8841 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.006989, allocations: 37.39 kB / 0.8841 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.00699, allocations: 0 / 0.8841 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001634/0.007153, allocations: 85.7 kB / 0.8842 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.007191, allocations: 81.11 kB / 0.8843 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.007267, allocations: 158 kB / 0.8844 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.007279, allocations: 33.7 kB / 0.8845 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.007317, allocations: 126.9 kB / 0.8846 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.007362, allocations: 35.72 kB / 0.8846 GB, free: 500 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.007393, allocations: 23.38 kB / 0.8846 GB, free: 468 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.007541, allocations: 0.4961 MB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.007556, allocations: 4 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-05/0.007581, allocations: 31.3 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.536e-05/0.007626, allocations: 39.36 kB / 0.8852 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.007629, allocations: 0 / 0.8852 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.82e-05/0.007717, allocations: 77.56 kB / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.007731, allocations: 4 kB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.007736, allocations: 0 / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.007746, allocations: 4 kB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.00781, allocations: 16 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.007813, allocations: 0 / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.007832, allocations: 7.938 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.007838, allocations: 3.984 kB / 0.8853 GB, free: 15.74 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 8.223e-05/0.00792, allocations: 164.5 kB / 0.8855 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.00793, allocations: 7.953 kB / 0.8855 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.008059, allocations: 98.2 kB / 0.8856 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.008061, allocations: 0 / 0.8856 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.008066, allocations: 7.984 kB / 0.8856 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.00807, allocations: 3.938 kB / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.258e-05/0.008153, allocations: 101.3 kB / 0.8857 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008154, allocations: 0 / 0.8857 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.008182, allocations: 15.98 kB / 0.8857 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008184, allocations: 4 kB / 0.8857 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.008191, allocations: 4 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.008192, allocations: 0 / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.008194, allocations: 0 / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.917e-05/0.008293, allocations: 128 kB / 0.8858 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.008316, allocations: 11.98 kB / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.008327, allocations: 4 kB / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-06/0.008336, allocations: 0 / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.008355, allocations: 7.984 kB / 0.8858 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.008358, allocations: 0 / 0.8858 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.008397, allocations: 127.2 kB / 0.886 GB, free: 15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.008397, allocations: 0 / 0.886 GB, free: 15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002039/0.008601, allocations: 75.67 kB / 0.886 GB, free: 14.93 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.0002857/0.008886, allocations: 230.7 kB / 0.8862 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.675e-05/0.008983, allocations: 39.67 kB / 0.8863 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.008985, allocations: 0 / 0.8863 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.009011, allocations: 31.66 kB / 0.8863 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.009177, allocations: 11.98 kB / 0.8863 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.009626, allocations: 189.9 kB / 0.8865 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.009662, allocations: 56.02 kB / 0.8866 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.009703, allocations: 15.97 kB / 0.8866 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.009769, allocations: 82.19 kB / 0.8866 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.00977, allocations: 0 / 0.8866 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of Templates: time 0.004159/0.01393, allocations: 2.319 MB / 0.8889 GB, free: 11.93 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.722687693312764]