Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001416/0.001416, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001475/0.001475, allocations: 173 kB / 23.49 MB, free: 1.062 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.9812/0.9812, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.116/2.116, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8782 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.553e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002228/0.002254, allocations: 1.437 MB / 0.8796 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.003679, allocations: 1.061 MB / 0.8806 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.003732, allocations: 0 / 0.8806 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.809e-05/0.00383, allocations: 11.92 kB / 0.8806 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.00394, allocations: 27.83 kB / 0.8806 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.004392, allocations: 123.3 kB / 0.8808 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.004639, allocations: 243.5 kB / 0.881 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.004684, allocations: 4 kB / 0.881 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.004794, allocations: 119.8 kB / 0.8811 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.004899, allocations: 119.8 kB / 0.8812 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.004928, allocations: 15.98 kB / 0.8812 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.005212, allocations: 111.8 kB / 0.8813 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.005298, allocations: 91.78 kB / 0.8814 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.005369, allocations: 67.89 kB / 0.8815 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.005633, allocations: 263.2 kB / 0.8817 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.005637, allocations: 4 kB / 0.8817 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005638, allocations: 0 / 0.8817 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.005643, allocations: 0 / 0.8817 GB, free: 3.027 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005979/0.006241, allocations: 0.5504 MB / 0.8823 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.006281, allocations: 8.031 kB / 0.8823 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.006417, allocations: 32.83 kB / 0.8823 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.006604, allocations: 180.3 kB / 0.8825 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.006646, allocations: 20.36 kB / 0.8825 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.006665, allocations: 16.38 kB / 0.8825 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.006957, allocations: 207.1 kB / 0.8827 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.006965, allocations: 4.172 kB / 0.8827 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.006982, allocations: 4.375 kB / 0.8827 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.006991, allocations: 7.938 kB / 0.8827 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.007437, allocations: 444.5 kB / 0.8832 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.007658, allocations: 196.5 kB / 0.8834 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.008305, allocations: 0.4898 MB / 0.8838 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.008441, allocations: 108.3 kB / 0.8839 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.008639, allocations: 75.91 kB / 0.884 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.00867, allocations: 45.12 kB / 0.884 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.008671, allocations: 0 / 0.884 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005031/0.009174, allocations: 337.1 kB / 0.8844 GB, free: 204 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.009204, allocations: 63.34 kB / 0.8844 GB, free: 128 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.009303, allocations: 181.9 kB / 0.8846 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.00932, allocations: 29.7 kB / 0.8846 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.009363, allocations: 139.5 kB / 0.8848 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.00944, allocations: 130.9 kB / 0.8849 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.009507, allocations: 75.08 kB / 0.885 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.009634, allocations: 0.5001 MB / 0.8855 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.009747, allocations: 71.94 kB / 0.8855 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.009852, allocations: 73.19 kB / 0.8856 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.01005, allocations: 143.7 kB / 0.8857 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01005, allocations: 0 / 0.8857 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003136/0.01037, allocations: 249 kB / 0.886 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01038, allocations: 4 kB / 0.886 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01039, allocations: 0 / 0.886 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.0104, allocations: 4 kB / 0.886 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.01062, allocations: 107.8 kB / 0.8861 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01063, allocations: 3.938 kB / 0.8861 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.01073, allocations: 51.84 kB / 0.8861 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.01075, allocations: 12 kB / 0.8861 GB, free: 14.32 MB / 0.8542 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.783e-05/0.01083, allocations: 172.5 kB / 0.8863 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.01087, allocations: 27.89 kB / 0.8863 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.01127, allocations: 306.9 kB / 0.8866 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01127, allocations: 4 kB / 0.8866 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01128, allocations: 3.938 kB / 0.8866 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01128, allocations: 0 / 0.8866 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.01145, allocations: 208.4 kB / 0.8868 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01145, allocations: 3.938 kB / 0.8868 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.01164, allocations: 95.92 kB / 0.8869 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01164, allocations: 0 / 0.8869 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.01166, allocations: 11.98 kB / 0.8869 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01167, allocations: 7.938 kB / 0.8869 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01167, allocations: 0 / 0.8869 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.01201, allocations: 308.3 kB / 0.8872 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.01203, allocations: 19.8 kB / 0.8873 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.01206, allocations: 12 kB / 0.8873 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.01215, allocations: 43.95 kB / 0.8873 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.01232, allocations: 135.5 kB / 0.8874 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.01233, allocations: 15.94 kB / 0.8875 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.669e-05/0.01238, allocations: 143.1 kB / 0.8876 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01238, allocations: 0 / 0.8876 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002399/0.01262, allocations: 95.86 kB / 0.8877 GB, free: 12.66 MB / 0.8542 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.0002408/0.01286, allocations: 167 kB / 0.8878 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000319/0.01318, allocations: 231.2 kB / 0.8881 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01318, allocations: 0 / 0.8881 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.01333, allocations: 140.4 kB / 0.8882 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.01361, allocations: 95.86 kB / 0.8883 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/0.01439, allocations: 363.7 kB / 0.8886 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.349e-05/0.01445, allocations: 88.7 kB / 0.8887 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002479/0.0147, allocations: 161.7 kB / 0.8889 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.01476, allocations: 36.48 kB / 0.8889 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of SimCode: time 8.31e-07/0.01477, allocations: 0 / 0.8889 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.006502/0.02127, allocations: 5.11 MB / 0.8939 GB, free: 6.348 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.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.529766218969598]