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.00118/0.00118, allocations: 92.22 kB / 19.65 MB, free: 276 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.001332/0.001332, allocations: 169 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.037/1.037, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.255/2.255, allocations: 429.5 MB / 0.6732 GB, free: 4 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.515e-06/2.515e-06, allocations: 0.875 kB / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.506e-05, allocations: 6.312 kB / 0.8781 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006889/0.006924, allocations: 3.907 MB / 0.882 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002432/0.007167, allocations: 155.5 kB / 0.8821 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.007202, allocations: 0 / 0.8821 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.007363, allocations: 11.92 kB / 0.8821 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.00748, allocations: 15.92 kB / 0.8821 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.00796, allocations: 83.61 kB / 0.8822 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.00807, allocations: 35.84 kB / 0.8822 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.008121, allocations: 4 kB / 0.8822 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.008197, allocations: 19.98 kB / 0.8823 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.008294, allocations: 15.91 kB / 0.8823 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.008312, allocations: 4 kB / 0.8823 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006674/0.008979, allocations: 179.4 kB / 0.8825 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.009039, allocations: 7.969 kB / 0.8825 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.009076, allocations: 16 kB / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.009268, allocations: 63.8 kB / 0.8825 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.009274, allocations: 0 / 0.8825 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/0.009276, allocations: 0 / 0.8825 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.009283, allocations: 0 / 0.8825 GB, free: 1.816 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.0004921/0.009775, allocations: 360.6 kB / 0.8829 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.009828, allocations: 12.03 kB / 0.8829 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.009889, allocations: 4.938 kB / 0.8829 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.01001, allocations: 112.6 kB / 0.883 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.0101, allocations: 51.97 kB / 0.8831 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.01012, allocations: 4.375 kB / 0.8831 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.01033, allocations: 80.64 kB / 0.8831 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.01035, allocations: 192 / 0.8831 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.01036, allocations: 3.938 kB / 0.8831 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.0104, allocations: 4 kB / 0.8831 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.395e-05/0.01045, allocations: 4 kB / 0.8831 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.01114, allocations: 271.7 kB / 0.8834 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.199e-05/0.01121, allocations: 27 kB / 0.8834 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.01123, allocations: 23.59 kB / 0.8835 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.556e-05/0.01131, allocations: 8.062 kB / 0.8835 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.01134, allocations: 33.39 kB / 0.8835 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.884e-06/0.01135, allocations: 0 / 0.8835 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000173/0.01152, allocations: 33.7 kB / 0.8835 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.01156, allocations: 59.33 kB / 0.8836 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.01166, allocations: 161.9 kB / 0.8837 GB, free: 412 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.01168, allocations: 25.83 kB / 0.8838 GB, free: 380 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.01175, allocations: 134.8 kB / 0.8839 GB, free: 240 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/0.01176, allocations: 4 kB / 0.8839 GB, free: 236 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.0118, allocations: 23.36 kB / 0.8839 GB, free: 204 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.01198, allocations: 496.1 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.012, allocations: 0 / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.01203, allocations: 27.36 kB / 0.8844 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.01207, allocations: 19.38 kB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01207, allocations: 0 / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.475e-05/0.01217, allocations: 65.52 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.01219, allocations: 4 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01219, allocations: 4 kB / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.01221, allocations: 0 / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.01227, allocations: 8 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.01228, allocations: 0 / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.0123, allocations: 0 / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.01231, allocations: 7.938 kB / 0.8845 GB, free: 15.55 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 8.363e-05/0.0124, allocations: 156.6 kB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.01243, allocations: 3.938 kB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.0126, allocations: 167.8 kB / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001103/0.01271, allocations: 272 kB / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001087/0.01282, allocations: 268.1 kB / 0.8853 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001216/0.01294, allocations: 268.4 kB / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.01327, allocations: 499.9 kB / 0.8861 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.396e-05/0.01335, allocations: 148.9 kB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-05/0.01344, allocations: 156.8 kB / 0.8864 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000129/0.01356, allocations: 272 kB / 0.8866 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.01371, allocations: 272.1 kB / 0.8869 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001154/0.01382, allocations: 268 kB / 0.8871 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001253/0.01395, allocations: 272 kB / 0.8874 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.01421, allocations: 455.9 kB / 0.8878 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.01431, allocations: 148.8 kB / 0.888 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.01449, allocations: 272 kB / 0.8882 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.01471, allocations: 148.9 kB / 0.8884 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.01486, allocations: 272 kB / 0.8886 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/0.01493, allocations: 148.9 kB / 0.8888 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.25e-05/0.01503, allocations: 123.2 kB / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01503, allocations: 0 / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003695/0.0154, allocations: 19.92 kB / 0.8889 GB, free: 10.84 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.0003984/0.01579, allocations: 238.4 kB / 0.8892 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001756/0.01597, allocations: 23.62 kB / 0.8892 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.01597, allocations: 0 / 0.8892 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.045e-06/0.01598, allocations: 0 / 0.8892 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.01674, allocations: 0.7084 MB / 0.8899 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.01767, allocations: 249.4 kB / 0.8901 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.961e-05/0.01774, allocations: 55.48 kB / 0.8902 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.523e-05/0.01782, allocations: 7 kB / 0.8902 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.01786, allocations: 12.5 kB / 0.8902 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of SimCode: time 2.555e-06/0.01786, allocations: 0 / 0.8902 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of Templates: time 0.004422/0.02229, allocations: 0.6924 MB / 0.8909 GB, free: 8.82 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.742270058020949]