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.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.001523/0.001523, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001701/0.001701, allocations: 160.6 kB / 22.46 MB, free: 5.371 MB / 14.72 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.542/1.542, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.813/2.813, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 3.026e-06/3.026e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.919e-05/5.222e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.01003/0.01008, allocations: 3.901 MB / 0.9547 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003104/0.01039, allocations: 143.5 kB / 0.9549 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.01042, allocations: 0 / 0.9549 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.01055, allocations: 7.938 kB / 0.9549 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.01066, allocations: 15.91 kB / 0.9549 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.01116, allocations: 84.88 kB / 0.955 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.01128, allocations: 35.84 kB / 0.955 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.01133, allocations: 4 kB / 0.955 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.01141, allocations: 15.92 kB / 0.955 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.0115, allocations: 19.97 kB / 0.9551 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.01152, allocations: 0 / 0.9551 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.0118, allocations: 71.61 kB / 0.9551 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.01185, allocations: 0 / 0.9551 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.01189, allocations: 7.984 kB / 0.9551 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.01211, allocations: 67.81 kB / 0.9552 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.01211, allocations: 0 / 0.9552 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.01212, allocations: 0 / 0.9552 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.01212, allocations: 0 / 0.9552 GB, free: 7.215 MB / 0.8575 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.000576/0.0127, allocations: 266.3 kB / 0.9555 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.01275, allocations: 12.03 kB / 0.9555 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.0128, allocations: 4.938 kB / 0.9555 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.01295, allocations: 105.7 kB / 0.9556 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.01305, allocations: 55.97 kB / 0.9556 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.01307, allocations: 384 / 0.9556 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.01327, allocations: 67.95 kB / 0.9557 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.01328, allocations: 4.188 kB / 0.9557 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.0133, allocations: 3.938 kB / 0.9557 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.01332, allocations: 3.984 kB / 0.9557 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.018e-05/0.01338, allocations: 8 kB / 0.9557 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.01393, allocations: 216.6 kB / 0.9559 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/0.014, allocations: 22.52 kB / 0.9559 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.01402, allocations: 12.8 kB / 0.9559 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.903e-05/0.0141, allocations: 8.062 kB / 0.956 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.01414, allocations: 30.56 kB / 0.956 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.01415, allocations: 0 / 0.956 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002277/0.01437, allocations: 37.62 kB / 0.956 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.01442, allocations: 55.41 kB / 0.9561 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.01455, allocations: 97.86 kB / 0.9562 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.01458, allocations: 25.83 kB / 0.9562 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.01465, allocations: 96.08 kB / 0.9563 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-06/0.01466, allocations: 7.938 kB / 0.9563 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.01471, allocations: 13.72 kB / 0.9563 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.0149, allocations: 310.8 kB / 0.9566 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.628e-05/0.01492, allocations: 11.98 kB / 0.9566 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.01496, allocations: 13.72 kB / 0.9566 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.182e-05/0.01502, allocations: 21.72 kB / 0.9566 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01502, allocations: 0 / 0.9566 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001309/0.01515, allocations: 57.52 kB / 0.9567 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.01517, allocations: 4 kB / 0.9567 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.01518, allocations: 4.281 kB / 0.9567 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.01521, allocations: 0 / 0.9567 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.01527, allocations: 4 kB / 0.9567 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.01528, allocations: 7.984 kB / 0.9567 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.01532, allocations: 11.88 kB / 0.9567 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.01533, allocations: 7.938 kB / 0.9567 GB, free: 5.438 MB / 0.8575 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.0001355/0.01547, allocations: 105.8 kB / 0.9568 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.01552, allocations: 11.92 kB / 0.9568 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.01568, allocations: 125 kB / 0.957 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000126/0.0158, allocations: 184.2 kB / 0.9571 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001028/0.01591, allocations: 176.3 kB / 0.9573 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001097/0.01602, allocations: 180.3 kB / 0.9575 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.01636, allocations: 360.8 kB / 0.9578 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.676e-05/0.01643, allocations: 101 kB / 0.9579 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.01649, allocations: 104.9 kB / 0.958 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.0166, allocations: 184.2 kB / 0.9582 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.0167, allocations: 176.3 kB / 0.9584 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001031/0.01681, allocations: 188.2 kB / 0.9585 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001046/0.01691, allocations: 184.3 kB / 0.9587 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.01715, allocations: 303.7 kB / 0.959 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.01722, allocations: 108.9 kB / 0.9591 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.01735, allocations: 184.2 kB / 0.9593 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.0176, allocations: 109 kB / 0.9594 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.01773, allocations: 184.2 kB / 0.9596 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.01779, allocations: 109 kB / 0.9597 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.133e-05/0.01787, allocations: 79.28 kB / 0.9598 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01787, allocations: 0 / 0.9598 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004685/0.01833, allocations: 23.88 kB / 0.9598 GB, free: 2.141 MB / 0.8575 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.0002828/0.01862, allocations: 194.5 kB / 0.96 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.304e-05/0.01871, allocations: 11.92 kB / 0.96 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01871, allocations: 0 / 0.96 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.54e-06/0.01872, allocations: 4 kB / 0.96 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.01947, allocations: 461.8 kB / 0.9604 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.01987, allocations: 176.4 kB / 0.9606 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.693e-05/0.01996, allocations: 63.47 kB / 0.9606 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.459e-05/0.02001, allocations: 11.94 kB / 0.9607 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.02004, allocations: 8.5 kB / 0.9607 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of SimCode: time 3.9e-07/0.02004, allocations: 0 / 0.9607 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of Templates: time 0.004839/0.02488, allocations: 0.6672 MB / 0.9613 GB, free: 0.5117 MB / 0.8575 GB " [Timeout remaining time 300] 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: 7.992170408368111]