Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001073/0.001073, 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.001115/0.001115, allocations: 169.4 kB / 24.06 MB, free: 456 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 1.07/1.07, allocations: 177.2 MB / 204.5 MB, free: 5.516 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.221/2.221, allocations: 429.5 MB / 0.6743 GB, free: 3.879 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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8793 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.754e-05, allocations: 6.016 kB / 0.8794 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004109/0.004127, allocations: 3.888 MB / 0.8832 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001417/0.004268, allocations: 166.7 kB / 0.8833 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.004294, allocations: 0 / 0.8833 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.004404, allocations: 4 kB / 0.8833 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.446e-05/0.004488, allocations: 15.84 kB / 0.8833 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.004754, allocations: 80.91 kB / 0.8834 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.563e-05/0.00483, allocations: 31.86 kB / 0.8834 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.004871, allocations: 0 / 0.8834 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.004922, allocations: 29.47 kB / 0.8835 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.004996, allocations: 11.98 kB / 0.8835 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.005007, allocations: 0 / 0.8835 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.005363, allocations: 180.5 kB / 0.8836 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.005414, allocations: 15.92 kB / 0.8837 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.005434, allocations: 4 kB / 0.8837 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.005556, allocations: 67.84 kB / 0.8837 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.005557, allocations: 3.938 kB / 0.8837 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005558, allocations: 0 / 0.8837 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.005562, allocations: 0 / 0.8837 GB, free: 1.609 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003437/0.005905, allocations: 368.6 kB / 0.8841 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.005944, allocations: 8.031 kB / 0.8841 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.005979, allocations: 4.938 kB / 0.8841 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.006067, allocations: 104.6 kB / 0.8842 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.006125, allocations: 59.95 kB / 0.8843 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.006134, allocations: 4.312 kB / 0.8843 GB, free: 1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.006254, allocations: 84.64 kB / 0.8843 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.006263, allocations: 4.188 kB / 0.8843 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.006273, allocations: 3.938 kB / 0.8843 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.006295, allocations: 0 / 0.8843 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.006318, allocations: 4 kB / 0.8844 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.006635, allocations: 248.3 kB / 0.8846 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.237e-05/0.006667, allocations: 31 kB / 0.8846 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.006678, allocations: 11.72 kB / 0.8846 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.006709, allocations: 8.062 kB / 0.8846 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.006731, allocations: 37.33 kB / 0.8847 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.006732, allocations: 4 kB / 0.8847 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001021/0.006834, allocations: 33.7 kB / 0.8847 GB, free: 476 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.006861, allocations: 51.41 kB / 0.8848 GB, free: 412 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.006931, allocations: 161.9 kB / 0.8849 GB, free: 232 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.00694, allocations: 29.64 kB / 0.8849 GB, free: 196 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.006987, allocations: 138.8 kB / 0.8851 GB, free: 52 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.00699, allocations: 0 / 0.8851 GB, free: 52 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.007015, allocations: 23.36 kB / 0.8851 GB, free: 20 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.007138, allocations: 496.1 kB / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.007145, allocations: 4.125 kB / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.007165, allocations: 27.36 kB / 0.8856 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.00719, allocations: 23.38 kB / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.007191, allocations: 0 / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.081e-05/0.007242, allocations: 49.53 kB / 0.8857 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.007254, allocations: 7.984 kB / 0.8857 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.007258, allocations: 7.938 kB / 0.8857 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.007267, allocations: 0 / 0.8857 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.348e-05/0.007301, allocations: 4 kB / 0.8857 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.007303, allocations: 4.062 kB / 0.8857 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.007318, allocations: 4 kB / 0.8857 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.007325, allocations: 0 / 0.8857 GB, free: 15.37 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 (3): * Single equations (assignments): 3 * 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.168e-05/0.007387, allocations: 160.5 kB / 0.8858 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.007403, allocations: 7.938 kB / 0.8859 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.007496, allocations: 163.7 kB / 0.886 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.197e-05/0.007558, allocations: 264.1 kB / 0.8863 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.068e-05/0.007618, allocations: 268 kB / 0.8865 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.072e-05/0.007689, allocations: 268.2 kB / 0.8868 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.007858, allocations: 0.4887 MB / 0.8873 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.292e-05/0.007891, allocations: 144.9 kB / 0.8874 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.007924, allocations: 148.9 kB / 0.8875 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.777e-05/0.007982, allocations: 268 kB / 0.8878 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/0.00804, allocations: 276.1 kB / 0.8881 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-05/0.008102, allocations: 272 kB / 0.8883 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.195e-05/0.008164, allocations: 268.1 kB / 0.8886 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.008316, allocations: 447.9 kB / 0.889 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.008355, allocations: 148.9 kB / 0.8891 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/0.00843, allocations: 272.3 kB / 0.8894 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.008535, allocations: 152.8 kB / 0.8895 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.008604, allocations: 276 kB / 0.8898 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.00864, allocations: 144.9 kB / 0.8899 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.008681, allocations: 127.2 kB / 0.8901 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008681, allocations: 0 / 0.8901 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001579/0.008838, allocations: 15.94 kB / 0.8901 GB, free: 10.69 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 (0): * Single equations (assignments): 0 * 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.0001597/0.008998, allocations: 242.3 kB / 0.8903 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.657e-05/0.009065, allocations: 23.61 kB / 0.8903 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009066, allocations: 0 / 0.8903 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.009067, allocations: 128 / 0.8903 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.009428, allocations: 0.7101 MB / 0.891 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.009757, allocations: 241.4 kB / 0.8913 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.11e-05/0.009788, allocations: 59.28 kB / 0.8913 GB, free: 9.355 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.009814, allocations: 6.5 kB / 0.8913 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.009876, allocations: 86.17 kB / 0.8914 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.009876, allocations: 4 kB / 0.8914 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of Templates: time 0.00212/0.012, allocations: 0.7681 MB / 0.8922 GB, free: 8.516 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.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.830314772203565]