Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.91 kB / 1.109 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8284, allocations: 168.7 MB / 1.274 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006221/0.8346, allocations: 3.792 MB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002478/0.8348, allocations: 159.5 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.8349, allocations: 0 / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.835, allocations: 3.938 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.8351, allocations: 11.98 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.8355, allocations: 84.44 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.8356, allocations: 31.91 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.8356, allocations: 0 / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.8357, allocations: 19.92 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.8357, allocations: 15.92 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.8358, allocations: 4 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005893/0.8363, allocations: 199.4 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.8364, allocations: 4 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.8364, allocations: 19.92 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.8366, allocations: 38.58 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8366, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of FrontEnd: time 3.547e-06/0.8366, allocations: 3.984 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.8366, allocations: 4 kB / 1.278 GB, free: 72 kB / 0.9669 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.0005126/0.8371, allocations: 331.6 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.8371, allocations: 8.031 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.8372, allocations: 0.9375 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.8373, allocations: 172.3 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.8374, allocations: 30.27 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.8374, allocations: 4.312 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.8375, allocations: 49.62 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.8376, allocations: 3.984 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.8376, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.8376, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.8376, allocations: 15.98 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.8381, allocations: 330 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.256e-05/0.8382, allocations: 34.44 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.8382, allocations: 4.859 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.616e-05/0.8383, allocations: 81.17 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.8383, allocations: 34.56 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.8383, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001618/0.8385, allocations: 37.69 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.8385, allocations: 59.34 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.8386, allocations: 97.86 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.8387, allocations: 25.7 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.8387, allocations: 96.06 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.8387, allocations: 3.953 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.8387, allocations: 13.72 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.8389, allocations: 322.8 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.8389, allocations: 4.125 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.8389, allocations: 21.88 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.839, allocations: 21.72 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.839, allocations: 0 / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.769e-05/0.8391, allocations: 49.62 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.8391, allocations: 8 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.8391, allocations: 4.062 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.8391, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.301e-05/0.8391, allocations: 4 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.8391, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.8392, allocations: 11.92 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.8392, allocations: 0 / 1.28 GB, free: 13.95 MB / 0.9825 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.576e-05/0.8393, allocations: 117.7 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.8393, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.8394, allocations: 124.3 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-05/0.8395, allocations: 188.2 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.382e-05/0.8396, allocations: 176.3 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.568e-05/0.8397, allocations: 176.3 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.84, allocations: 413.1 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.758e-05/0.84, allocations: 105 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.8401, allocations: 108.9 kB / 1.281 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-05/0.8402, allocations: 176.3 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.793e-05/0.8402, allocations: 188.2 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.811e-05/0.8403, allocations: 188.1 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.549e-05/0.8404, allocations: 180.3 kB / 1.282 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.8406, allocations: 319.6 kB / 1.282 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.8407, allocations: 182.1 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.8408, allocations: 180.2 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.841, allocations: 109 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.8411, allocations: 184.2 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/0.8411, allocations: 105 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.618e-05/0.8412, allocations: 83.28 kB / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8412, allocations: 0 / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002388/0.8414, allocations: 15.94 kB / 1.283 GB, free: 10.49 MB / 0.9825 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.0004027/0.8418, allocations: 199 kB / 1.283 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.8419, allocations: 15.92 kB / 1.283 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.8419, allocations: 4 kB / 1.283 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.8419, allocations: 0 / 1.283 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.8425, allocations: 459.6 kB / 1.284 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.8428, allocations: 186.1 kB / 1.284 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.8432, allocations: 0.6729 MB / 1.285 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.8433, allocations: 7.984 kB / 1.285 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.8433, allocations: 7.438 kB / 1.285 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.8433, allocations: 3.938 kB / 1.285 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of Templates: time 0.003216/0.8465, allocations: 0.6532 MB / 1.285 GB, free: 8.242 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.60618603695184]