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.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.001387/0.001387, allocations: 92.7 kB / 19.44 MB, free: 324 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.001624/0.001624, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.262/3.262, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] 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.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 2.604e-06/2.604e-06, allocations: 0 / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.713e-05/4.973e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.009644/0.009694, allocations: 3.911 MB / 0.8814 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003485/0.01004, allocations: 141 kB / 0.8815 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.01007, allocations: 0 / 0.8815 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.0102, allocations: 1.969 kB / 0.8815 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.01031, allocations: 23.84 kB / 0.8815 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.0108, allocations: 78.25 kB / 0.8816 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.01094, allocations: 39.83 kB / 0.8816 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.01099, allocations: 4 kB / 0.8816 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.01107, allocations: 19.92 kB / 0.8817 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.749e-05/0.01117, allocations: 15.97 kB / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.01118, allocations: 0 / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.01144, allocations: 56.42 kB / 0.8817 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.0115, allocations: 7.969 kB / 0.8817 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.01155, allocations: 13.34 kB / 0.8818 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.01177, allocations: 63.8 kB / 0.8818 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.01178, allocations: 0 / 0.8818 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.783e-06/0.01178, allocations: 4 kB / 0.8818 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.01179, allocations: 0 / 0.8818 GB, free: 2.164 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.00056/0.01235, allocations: 258.3 kB / 0.8821 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.0124, allocations: 12.03 kB / 0.8821 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.01246, allocations: 0.9375 kB / 0.8821 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.01263, allocations: 105.8 kB / 0.8822 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.01275, allocations: 51.97 kB / 0.8822 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.01278, allocations: 12.3 kB / 0.8822 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.01299, allocations: 71.94 kB / 0.8823 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.013, allocations: 192 / 0.8823 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.01302, allocations: 7.938 kB / 0.8823 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.01304, allocations: 0 / 0.8823 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.01312, allocations: 19.98 kB / 0.8823 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.01371, allocations: 204.6 kB / 0.8825 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.58e-05/0.01378, allocations: 18.52 kB / 0.8826 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.0138, allocations: 8.859 kB / 0.8826 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.078e-05/0.01387, allocations: 8 kB / 0.8826 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.01392, allocations: 34.55 kB / 0.8826 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.01393, allocations: 0 / 0.8826 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002301/0.01416, allocations: 45.66 kB / 0.8826 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.01421, allocations: 51.41 kB / 0.8827 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.01436, allocations: 109.8 kB / 0.8828 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.01439, allocations: 25.7 kB / 0.8828 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.01447, allocations: 84.09 kB / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/0.01448, allocations: 0 / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.01453, allocations: 17.66 kB / 0.8829 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002522/0.01478, allocations: 322.8 kB / 0.8832 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.0148, allocations: 0 / 0.8832 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.053e-05/0.01484, allocations: 17.72 kB / 0.8832 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.524e-05/0.0149, allocations: 25.83 kB / 0.8833 GB, free: 500 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01491, allocations: 0 / 0.8833 GB, free: 500 kB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001469/0.01505, allocations: 57.53 kB / 0.8833 GB, free: 436 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01507, allocations: 6.344 kB / 0.8833 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.01508, allocations: 4 kB / 0.8833 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.01511, allocations: 3.984 kB / 0.8833 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.01517, allocations: 8 kB / 0.8833 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01517, allocations: 0 / 0.8833 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.01521, allocations: 3.938 kB / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01522, allocations: 8.062 kB / 0.8834 GB, free: 404 kB / 0.8386 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 0.0001352/0.01536, allocations: 113.8 kB / 0.8835 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.01541, allocations: 7.938 kB / 0.8835 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.0156, allocations: 113 kB / 0.8836 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001677/0.01577, allocations: 184.3 kB / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001506/0.01592, allocations: 180.2 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001455/0.01606, allocations: 184.3 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.01648, allocations: 356.8 kB / 0.8844 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-05/0.01656, allocations: 101 kB / 0.8845 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.01663, allocations: 105 kB / 0.8846 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.01677, allocations: 192.1 kB / 0.8848 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.01691, allocations: 180.3 kB / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001402/0.01705, allocations: 180.2 kB / 0.8852 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001371/0.01718, allocations: 176.3 kB / 0.8853 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.01774, allocations: 311.8 kB / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/0.01783, allocations: 108.9 kB / 0.8857 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.01799, allocations: 184.2 kB / 0.8859 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.01827, allocations: 109.2 kB / 0.886 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.01842, allocations: 180.2 kB / 0.8862 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/0.0185, allocations: 105 kB / 0.8863 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001043/0.01861, allocations: 91.28 kB / 0.8864 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01861, allocations: 0 / 0.8864 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004791/0.01909, allocations: 19.92 kB / 0.8864 GB, free: 13.1 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.0003238/0.01941, allocations: 190.4 kB / 0.8866 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.01951, allocations: 16.25 kB / 0.8866 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01952, allocations: 0 / 0.8866 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.01952, allocations: 0 / 0.8866 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008333/0.02035, allocations: 467.8 kB / 0.887 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.02079, allocations: 180.1 kB / 0.8872 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.02089, allocations: 59.34 kB / 0.8873 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.793e-05/0.02095, allocations: 4 kB / 0.8873 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.02099, allocations: 12.5 kB / 0.8873 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.02099, allocations: 3.938 kB / 0.8873 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.004066/0.02505, allocations: 0.6802 MB / 0.8879 GB, free: 11.45 MB / 0.8542 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.281092743971385]