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.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.001304/0.001304, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001338/0.001338, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.539/1.539, allocations: 225.6 MB / 249.4 MB, free: 3.027 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.081/3.081, allocations: 496.2 MB / 0.7819 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001999/0.001999, allocations: 67.89 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294/1.296, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004717/1.301, allocations: 3.778 MB / 1.309 GB, free: 30.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001742/1.301, allocations: 167.9 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/1.301, allocations: 0 / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/1.301, allocations: 0 / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/1.301, allocations: 17.98 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/1.301, allocations: 81.67 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.627e-05/1.302, allocations: 35.31 kB / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/1.302, allocations: 6.531 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/1.302, allocations: 15.38 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/1.302, allocations: 27.78 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/1.302, allocations: 0 / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/1.302, allocations: 188.5 kB / 1.31 GB, free: 30.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/1.302, allocations: 14.36 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/1.302, allocations: 6.844 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/1.302, allocations: 42.27 kB / 1.31 GB, free: 30.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.302, allocations: 6.938 kB / 1.31 GB, free: 30.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/1.302, allocations: 0 / 1.31 GB, free: 30.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.15e-06/1.302, allocations: 0 / 1.31 GB, free: 30.48 MB / 1.061 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.0003621/1.303, allocations: 336.8 kB / 1.31 GB, free: 30.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/1.303, allocations: 8.5 kB / 1.31 GB, free: 30.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/1.303, allocations: 3.344 kB / 1.31 GB, free: 30.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.851e-05/1.303, allocations: 160.4 kB / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/1.303, allocations: 32.98 kB / 1.31 GB, free: 29.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/1.303, allocations: 384 / 1.31 GB, free: 29.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/1.303, allocations: 53.72 kB / 1.31 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.303, allocations: 2.781 kB / 1.31 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.303, allocations: 3.234 kB / 1.31 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/1.303, allocations: 0 / 1.31 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/1.303, allocations: 12.27 kB / 1.31 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/1.304, allocations: 334.7 kB / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.765e-05/1.304, allocations: 25.45 kB / 1.311 GB, free: 29.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/1.304, allocations: 7.609 kB / 1.311 GB, free: 29.44 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.518e-05/1.304, allocations: 91.42 kB / 1.311 GB, free: 29.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/1.304, allocations: 33.34 kB / 1.311 GB, free: 29.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/1.304, allocations: 0 / 1.311 GB, free: 29.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001379/1.304, allocations: 35.12 kB / 1.311 GB, free: 29.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/1.304, allocations: 51.41 kB / 1.311 GB, free: 29.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/1.304, allocations: 103.9 kB / 1.311 GB, free: 29.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/1.304, allocations: 25.7 kB / 1.311 GB, free: 29.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/1.304, allocations: 94.56 kB / 1.311 GB, free: 28.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.521e-06/1.304, allocations: 3.953 kB / 1.311 GB, free: 28.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/1.304, allocations: 12.78 kB / 1.311 GB, free: 28.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.461e-05/1.304, allocations: 325.2 kB / 1.311 GB, free: 28.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/1.304, allocations: 3.938 kB / 1.311 GB, free: 28.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/1.304, allocations: 15.53 kB / 1.311 GB, free: 28.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/1.304, allocations: 26.86 kB / 1.311 GB, free: 28.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.304, allocations: 0 / 1.311 GB, free: 28.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.354e-05/1.304, allocations: 51.28 kB / 1.311 GB, free: 28.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.304, allocations: 4.844 kB / 1.311 GB, free: 28.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.304, allocations: 3.938 kB / 1.311 GB, free: 28.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.304, allocations: 2.938 kB / 1.311 GB, free: 28.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/1.304, allocations: 2.812 kB / 1.311 GB, free: 28.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.304, allocations: 6.969 kB / 1.311 GB, free: 28.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/1.304, allocations: 3.938 kB / 1.311 GB, free: 28.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/1.304, allocations: 2.781 kB / 1.311 GB, free: 28.55 MB / 1.061 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 4.443e-05/1.304, allocations: 112.8 kB / 1.312 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/1.304, allocations: 2.938 kB / 1.312 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.999e-05/1.305, allocations: 119.8 kB / 1.312 GB, free: 28.3 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/1.305, allocations: 191.4 kB / 1.312 GB, free: 28.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-05/1.305, allocations: 183.3 kB / 1.312 GB, free: 27.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/1.305, allocations: 176.3 kB / 1.312 GB, free: 27.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/1.305, allocations: 406.7 kB / 1.313 GB, free: 27.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/1.305, allocations: 108.2 kB / 1.313 GB, free: 27.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/1.305, allocations: 108.1 kB / 1.313 GB, free: 27.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.346e-05/1.305, allocations: 184.2 kB / 1.313 GB, free: 26.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/1.305, allocations: 176.3 kB / 1.313 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.412e-05/1.305, allocations: 183.1 kB / 1.313 GB, free: 26.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-05/1.305, allocations: 182.8 kB / 1.314 GB, free: 26.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.814e-05/1.305, allocations: 321 kB / 1.314 GB, free: 26.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/1.305, allocations: 182.1 kB / 1.314 GB, free: 25.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/1.305, allocations: 180.2 kB / 1.314 GB, free: 25.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/1.305, allocations: 110 kB / 1.314 GB, free: 25.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/1.305, allocations: 176.3 kB / 1.314 GB, free: 25.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/1.305, allocations: 104.9 kB / 1.315 GB, free: 25.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.264e-05/1.305, allocations: 91.78 kB / 1.315 GB, free: 25.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.305, allocations: 0 / 1.315 GB, free: 25.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002476/1.305, allocations: 15.47 kB / 1.315 GB, free: 25.15 MB / 1.061 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.0002358/1.306, allocations: 204.7 kB / 1.315 GB, free: 24.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.173e-05/1.306, allocations: 9.016 kB / 1.315 GB, free: 24.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/1.306, allocations: 4.125 kB / 1.315 GB, free: 24.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/1.306, allocations: 3.938 kB / 1.315 GB, free: 24.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/1.306, allocations: 458.7 kB / 1.315 GB, free: 24.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/1.306, allocations: 182.2 kB / 1.315 GB, free: 24.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.442e-05/1.306, allocations: 0.679 MB / 1.316 GB, free: 23.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.776e-05/1.306, allocations: 5.156 kB / 1.316 GB, free: 23.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/1.306, allocations: 7.438 kB / 1.316 GB, free: 23.64 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.306, allocations: 0 / 1.316 GB, free: 23.64 MB / 1.061 GB Notification: Performance of Templates: time 0.002779/1.309, allocations: 0.6535 MB / 1.317 GB, free: 23.54 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] 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: 10.130464430898428]