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.001406/0.001406, allocations: 92.7 kB / 19.44 MB, free: 324 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.001719/0.001719, allocations: 165.3 kB / 22.76 MB, free: 1.652 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.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.237/3.237, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] 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 1.663e-06/1.663e-06, allocations: 0 / 0.8775 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.907e-05, allocations: 2.312 kB / 0.8775 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006967/0.006996, allocations: 3.684 MB / 0.8811 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002635/0.007259, allocations: 145 kB / 0.8813 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.007283, allocations: 0 / 0.8813 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.007405, allocations: 4.781 kB / 0.8813 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/0.007487, allocations: 11.91 kB / 0.8813 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.00791, allocations: 91.61 kB / 0.8814 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.008014, allocations: 35.84 kB / 0.8814 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.008052, allocations: 0 / 0.8814 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.00813, allocations: 23.92 kB / 0.8814 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.008206, allocations: 11.97 kB / 0.8815 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.008221, allocations: 4 kB / 0.8815 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006482/0.008869, allocations: 187.3 kB / 0.8816 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.008928, allocations: 11.98 kB / 0.8816 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.008961, allocations: 4 kB / 0.8817 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.009159, allocations: 67.73 kB / 0.8817 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.009163, allocations: 0 / 0.8817 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.312e-06/0.009164, allocations: 0 / 0.8817 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.009168, allocations: 0 / 0.8817 GB, free: 1.121 MB / 0.7917 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.0004848/0.009653, allocations: 262.3 kB / 0.882 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.009693, allocations: 8.031 kB / 0.882 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.009748, allocations: 0.9375 kB / 0.882 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.009892, allocations: 113.8 kB / 0.8821 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.009993, allocations: 51.97 kB / 0.8821 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.01001, allocations: 4.375 kB / 0.8821 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.01019, allocations: 67.94 kB / 0.8822 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.0102, allocations: 4.172 kB / 0.8822 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.01021, allocations: 7.922 kB / 0.8822 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.01024, allocations: 7.938 kB / 0.8822 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.193e-05/0.0103, allocations: 15.98 kB / 0.8822 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.01076, allocations: 200.6 kB / 0.8824 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.954e-05/0.01081, allocations: 18.64 kB / 0.8824 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.01084, allocations: 12.8 kB / 0.8825 GB, free: 248 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.257e-05/0.0109, allocations: 4 kB / 0.8825 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.01094, allocations: 34.56 kB / 0.8825 GB, free: 200 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.01094, allocations: 3.938 kB / 0.8825 GB, free: 196 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001835/0.01112, allocations: 41.64 kB / 0.8825 GB, free: 148 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.01117, allocations: 55.41 kB / 0.8826 GB, free: 80 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.0113, allocations: 101.8 kB / 0.8827 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.01133, allocations: 25.7 kB / 0.8827 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.0114, allocations: 88.09 kB / 0.8828 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.0114, allocations: 4.062 kB / 0.8828 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.01145, allocations: 21.72 kB / 0.8828 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.01163, allocations: 314.8 kB / 0.8831 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.01165, allocations: 7.984 kB / 0.8831 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.01168, allocations: 17.72 kB / 0.8831 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.01173, allocations: 25.66 kB / 0.8832 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01173, allocations: 0 / 0.8832 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.917e-05/0.01183, allocations: 53.56 kB / 0.8832 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01185, allocations: 5.938 kB / 0.8832 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01186, allocations: 8 kB / 0.8832 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.01187, allocations: 0 / 0.8832 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.01192, allocations: 7.984 kB / 0.8832 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.01193, allocations: 0 / 0.8832 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.01195, allocations: 3.953 kB / 0.8832 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.01196, allocations: 4 kB / 0.8832 GB, free: 15.35 MB / 0.8073 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 9.804e-05/0.01206, allocations: 109.8 kB / 0.8834 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.01209, allocations: 7.938 kB / 0.8834 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.01223, allocations: 120.9 kB / 0.8835 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/0.01234, allocations: 180.3 kB / 0.8836 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/0.01244, allocations: 180.3 kB / 0.8838 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.974e-05/0.01254, allocations: 184.2 kB / 0.884 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.01282, allocations: 352.9 kB / 0.8843 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.539e-05/0.01289, allocations: 112.9 kB / 0.8844 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.01295, allocations: 101 kB / 0.8845 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.01305, allocations: 184.2 kB / 0.8847 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.01316, allocations: 184.2 kB / 0.8849 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001017/0.01326, allocations: 176.3 kB / 0.8851 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001174/0.01338, allocations: 184.2 kB / 0.8852 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.01362, allocations: 307.8 kB / 0.8855 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.621e-05/0.0137, allocations: 112.9 kB / 0.8856 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.01397, allocations: 176.3 kB / 0.8858 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.01416, allocations: 112.9 kB / 0.8859 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.01428, allocations: 180.2 kB / 0.8861 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/0.01435, allocations: 112.9 kB / 0.8862 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.454e-05/0.01441, allocations: 79.28 kB / 0.8863 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01441, allocations: 0 / 0.8863 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002753/0.01469, allocations: 15.94 kB / 0.8863 GB, free: 12.06 MB / 0.8073 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.0002605/0.01495, allocations: 198.4 kB / 0.8865 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.804e-05/0.01502, allocations: 12 kB / 0.8865 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01503, allocations: 4 kB / 0.8865 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-06/0.01503, allocations: 0 / 0.8865 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.01567, allocations: 463.6 kB / 0.8869 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.01604, allocations: 184.3 kB / 0.8871 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.072e-05/0.01612, allocations: 59.34 kB / 0.8872 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.301e-05/0.01618, allocations: 10.53 kB / 0.8872 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.01622, allocations: 12.5 kB / 0.8872 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.01622, allocations: 0 / 0.8872 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of Templates: time 0.00356/0.01978, allocations: 0.6946 MB / 0.8879 GB, free: 10.41 MB / 0.8073 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.403567676898092]