Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001329/0.001329, 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.001331/0.001331, 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.479/1.479, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.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.862/2.862, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 71.89 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263/1.265, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005785/1.271, allocations: 4.069 MB / 1.276 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002061/1.271, allocations: 158.5 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/1.271, allocations: 0.75 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/1.272, allocations: 5.828 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.477e-05/1.272, allocations: 13.34 kB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/1.272, allocations: 90.67 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000102/1.272, allocations: 34.34 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/1.272, allocations: 2.219 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/1.272, allocations: 14.92 kB / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/1.272, allocations: 17.25 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/1.272, allocations: 4.875 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/1.272, allocations: 58.83 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/1.273, allocations: 4.453 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/1.273, allocations: 17.19 kB / 1.276 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/1.273, allocations: 36.47 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.273, allocations: 5.547 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/1.273, allocations: 0 / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.761e-06/1.273, allocations: 0 / 1.276 GB, free: 4.762 MB / 0.9981 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.000349/1.273, allocations: 333.8 kB / 1.277 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/1.273, allocations: 17.62 kB / 1.277 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/1.273, allocations: 6.219 kB / 1.277 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/1.273, allocations: 170.7 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/1.273, allocations: 28.08 kB / 1.277 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/1.273, allocations: 1.406 kB / 1.277 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/1.273, allocations: 47.62 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.273, allocations: 0 / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/1.273, allocations: 0 / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/1.273, allocations: 2.391 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.749e-05/1.274, allocations: 20.67 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/1.274, allocations: 332.3 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/1.274, allocations: 16.64 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/1.274, allocations: 12.02 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.636e-05/1.274, allocations: 83.12 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.274, allocations: 40.3 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/1.274, allocations: 0 / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001499/1.274, allocations: 34.91 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/1.274, allocations: 52.59 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/1.274, allocations: 100.3 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/1.274, allocations: 26.45 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/1.274, allocations: 97.02 kB / 1.278 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-06/1.274, allocations: 4.734 kB / 1.278 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/1.274, allocations: 21.34 kB / 1.278 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.944e-05/1.274, allocations: 315.9 kB / 1.278 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/1.274, allocations: 7.5 kB / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.822e-05/1.275, allocations: 18.84 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.672e-05/1.275, allocations: 20.42 kB / 1.278 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.275, allocations: 3.938 kB / 1.278 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.577e-05/1.275, allocations: 51.73 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.275, allocations: 7.812 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/1.275, allocations: 0 / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.275, allocations: 4.328 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.512e-05/1.275, allocations: 5.219 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.275, allocations: 0.9062 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/1.275, allocations: 1.062 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/1.275, allocations: 1.656 kB / 1.278 GB, free: 2.824 MB / 0.9981 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.247e-05/1.275, allocations: 120.5 kB / 1.278 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/1.275, allocations: 1.094 kB / 1.278 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/1.275, allocations: 126.8 kB / 1.278 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/1.275, allocations: 179.2 kB / 1.279 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.245e-05/1.275, allocations: 185.2 kB / 1.279 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-05/1.275, allocations: 181.2 kB / 1.279 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/1.275, allocations: 416.1 kB / 1.279 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.275, allocations: 108.3 kB / 1.279 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/1.275, allocations: 101.9 kB / 1.28 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-05/1.275, allocations: 181.1 kB / 1.28 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/1.275, allocations: 177.8 kB / 1.28 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.737e-05/1.275, allocations: 191.4 kB / 1.28 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.54e-05/1.275, allocations: 177.1 kB / 1.28 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.971e-05/1.275, allocations: 310.1 kB / 1.28 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.276, allocations: 180 kB / 1.281 GB, free: 16.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.276, allocations: 193.3 kB / 1.281 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/1.276, allocations: 103.8 kB / 1.281 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.276, allocations: 181.3 kB / 1.281 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/1.276, allocations: 109.6 kB / 1.281 GB, free: 15.51 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.169e-05/1.276, allocations: 80.31 kB / 1.281 GB, free: 15.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/1.276, allocations: 0 / 1.281 GB, free: 15.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000285/1.276, allocations: 12 kB / 1.281 GB, free: 15.43 MB / 1.014 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.0003394/1.277, allocations: 206.4 kB / 1.282 GB, free: 15.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.653e-05/1.277, allocations: 7.109 kB / 1.282 GB, free: 15.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.277, allocations: 0.75 kB / 1.282 GB, free: 15.26 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/1.277, allocations: 8.844 kB / 1.282 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/1.277, allocations: 465 kB / 1.282 GB, free: 14.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/1.278, allocations: 180.6 kB / 1.282 GB, free: 14.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/1.278, allocations: 0.6763 MB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.168e-05/1.278, allocations: 4.531 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/1.278, allocations: 12.91 kB / 1.283 GB, free: 13.91 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.278, allocations: 0 / 1.283 GB, free: 13.91 MB / 1.014 GB Notification: Performance of Templates: time 0.003557/1.282, allocations: 0.6401 MB / 1.283 GB, free: 13.82 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 9.425585531629622]