Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00126/0.00126, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001395/0.001395, allocations: 188.3 kB / 22.23 MB, free: 5.098 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.312/1.312, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.911/2.911, allocations: 0.4893 GB / 0.7884 GB, free: 33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 68.7 kB / 1.145 GB, free: 30.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3345, allocations: 174.9 MB / 1.316 GB, free: 9.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00551/0.34, allocations: 4.077 MB / 1.32 GB, free: 5.703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002084/0.3402, allocations: 159.5 kB / 1.32 GB, free: 5.547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.3402, allocations: 0 / 1.32 GB, free: 5.547 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.876e-05/0.3403, allocations: 7.875 kB / 1.32 GB, free: 5.539 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.793e-05/0.3404, allocations: 23.91 kB / 1.32 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.3407, allocations: 77.94 kB / 1.32 GB, free: 5.441 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.3408, allocations: 39.84 kB / 1.32 GB, free: 5.402 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.3408, allocations: 4 kB / 1.32 GB, free: 5.398 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.3409, allocations: 16 kB / 1.32 GB, free: 5.383 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.3409, allocations: 19.91 kB / 1.32 GB, free: 5.363 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.341, allocations: 0 / 1.32 GB, free: 5.363 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.3412, allocations: 59.81 kB / 1.32 GB, free: 5.305 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.3412, allocations: 3.984 kB / 1.32 GB, free: 5.301 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.3412, allocations: 11.98 kB / 1.32 GB, free: 5.289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.3413, allocations: 39.84 kB / 1.32 GB, free: 5.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3413, allocations: 0 / 1.32 GB, free: 5.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3413, allocations: 0 / 1.32 GB, free: 5.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3413, allocations: 0 / 1.32 GB, free: 5.25 MB / 1.014 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.0003673/0.3417, allocations: 266.3 kB / 1.321 GB, free: 4.961 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.3417, allocations: 8.031 kB / 1.321 GB, free: 4.953 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.3418, allocations: 0.9375 kB / 1.321 GB, free: 4.953 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3419, allocations: 114.5 kB / 1.321 GB, free: 4.816 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.044e-05/0.3419, allocations: 34.25 kB / 1.321 GB, free: 4.777 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.342, allocations: 4.375 kB / 1.321 GB, free: 4.773 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3421, allocations: 41.62 kB / 1.321 GB, free: 4.727 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3421, allocations: 0 / 1.321 GB, free: 4.727 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.3421, allocations: 4 kB / 1.321 GB, free: 4.723 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.3421, allocations: 0 / 1.321 GB, free: 4.723 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.3421, allocations: 19.98 kB / 1.321 GB, free: 4.703 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.3425, allocations: 227.9 kB / 1.321 GB, free: 4.438 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 3.949e-05/0.3426, allocations: 18.61 kB / 1.321 GB, free: 4.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.3426, allocations: 8.922 kB / 1.321 GB, free: 4.398 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.3426, allocations: 8 kB / 1.321 GB, free: 4.391 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3427, allocations: 34.56 kB / 1.321 GB, free: 4.348 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 2.986e-06/0.3427, allocations: 3.984 kB / 1.321 GB, free: 4.344 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001332/0.3428, allocations: 41.62 kB / 1.321 GB, free: 4.297 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.3428, allocations: 55.34 kB / 1.321 GB, free: 4.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.3429, allocations: 105.7 kB / 1.321 GB, free: 4.117 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3429, allocations: 29.7 kB / 1.321 GB, free: 4.082 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.343, allocations: 88.2 kB / 1.321 GB, free: 3.992 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/0.343, allocations: 7.953 kB / 1.321 GB, free: 3.984 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.343, allocations: 17.72 kB / 1.321 GB, free: 3.961 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3432, allocations: 314.8 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.3432, allocations: 8 kB / 1.322 GB, free: 3.637 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.3432, allocations: 21.7 kB / 1.322 GB, free: 3.609 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.3432, allocations: 25.66 kB / 1.322 GB, free: 3.578 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3432, allocations: 0 / 1.322 GB, free: 3.578 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.393e-05/0.3433, allocations: 45.69 kB / 1.322 GB, free: 3.527 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.3433, allocations: 4 kB / 1.322 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3433, allocations: 0 / 1.322 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3433, allocations: 4 kB / 1.322 GB, free: 3.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.103e-05/0.3434, allocations: 7.938 kB / 1.322 GB, free: 3.512 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3434, allocations: 0 / 1.322 GB, free: 3.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.3434, allocations: 0 / 1.322 GB, free: 3.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3434, allocations: 7.984 kB / 1.322 GB, free: 3.504 MB / 1.014 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 7.753e-05/0.3435, allocations: 118.4 kB / 1.322 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.3435, allocations: 4 kB / 1.322 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3436, allocations: 113 kB / 1.322 GB, free: 3.258 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.708e-05/0.3437, allocations: 188.2 kB / 1.322 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.401e-05/0.3438, allocations: 180.3 kB / 1.322 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-05/0.3439, allocations: 184.2 kB / 1.323 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.3441, allocations: 376.2 kB / 1.323 GB, free: 2.277 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.368e-05/0.3442, allocations: 105 kB / 1.323 GB, free: 2.168 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.3442, allocations: 104.9 kB / 1.323 GB, free: 2.059 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.566e-05/0.3443, allocations: 180.3 kB / 1.323 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.942e-05/0.3444, allocations: 188.2 kB / 1.324 GB, free: 1.684 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.336e-05/0.3444, allocations: 180.3 kB / 1.324 GB, free: 1.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.097e-05/0.3445, allocations: 176.3 kB / 1.324 GB, free: 1.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.3447, allocations: 311.7 kB / 1.324 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.3447, allocations: 108.9 kB / 1.324 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.3448, allocations: 180.3 kB / 1.324 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.345, allocations: 109 kB / 1.325 GB, free: 0.582 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.3451, allocations: 188.1 kB / 1.325 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.3451, allocations: 105 kB / 1.325 GB, free: 288 kB / 1.014 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.3451, allocations: 83.28 kB / 1.325 GB, free: 204 kB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3451, allocations: 0 / 1.325 GB, free: 204 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002848/0.3454, allocations: 19.94 kB / 1.325 GB, free: 184 kB / 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.0002743/0.3457, allocations: 202.4 kB / 1.325 GB, free: 15.97 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.3458, allocations: 11.92 kB / 1.325 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3458, allocations: 3.938 kB / 1.325 GB, free: 15.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.3458, allocations: 4 kB / 1.325 GB, free: 15.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.3462, allocations: 461.6 kB / 1.326 GB, free: 15.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.3465, allocations: 186.2 kB / 1.326 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.3467, allocations: 0.6729 MB / 1.326 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.3468, allocations: 11.98 kB / 1.326 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.3468, allocations: 7.438 kB / 1.326 GB, free: 14.57 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3468, allocations: 0 / 1.326 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Templates: time 0.003015/0.3498, allocations: 0.6404 MB / 1.327 GB, free: 13.94 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.044466618448496]