Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001662/0.001662, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002071/0.002071, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 65.67 kB / 1.118 GB, free: 40.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3516, allocations: 169.9 MB / 1.284 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2069/0.5585, allocations: 151.6 MB / 1.432 GB, free: 3.605 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001626/0.5587, allocations: 55.81 kB / 1.432 GB, free: 3.551 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.5587, allocations: 0 / 1.432 GB, free: 3.551 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.5588, allocations: 3.984 kB / 1.432 GB, free: 3.547 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 7.951e-05/0.5589, allocations: 15.86 kB / 1.432 GB, free: 3.531 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.5598, allocations: 219.2 kB / 1.432 GB, free: 3.316 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.5599, allocations: 35.84 kB / 1.432 GB, free: 3.281 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.56, allocations: 4 kB / 1.432 GB, free: 3.277 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.56, allocations: 15.98 kB / 1.433 GB, free: 3.262 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.5601, allocations: 15.91 kB / 1.433 GB, free: 3.246 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.5601, allocations: 4 kB / 1.433 GB, free: 3.242 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.5606, allocations: 211.4 kB / 1.433 GB, free: 3.035 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.5607, allocations: 11.98 kB / 1.433 GB, free: 3.023 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.5607, allocations: 11.92 kB / 1.433 GB, free: 3.012 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.561, allocations: 119.2 kB / 1.433 GB, free: 2.898 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.5611, allocations: 0 / 1.433 GB, free: 2.898 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5611, allocations: 0 / 1.433 GB, free: 2.898 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.5611, allocations: 0 / 1.433 GB, free: 2.898 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004683/0.5615, allocations: 274.2 kB / 1.433 GB, free: 2.602 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.5616, allocations: 8.031 kB / 1.433 GB, free: 2.594 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/0.5616, allocations: 192 / 1.433 GB, free: 2.594 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.5616, allocations: 34.75 kB / 1.433 GB, free: 2.551 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.562, allocations: 32.89 kB / 1.433 GB, free: 2.52 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.5621, allocations: 114.1 kB / 1.433 GB, free: 2.383 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.5622, allocations: 51.41 kB / 1.433 GB, free: 2.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.5622, allocations: 4 kB / 1.433 GB, free: 2.316 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.5623, allocations: 53.61 kB / 1.433 GB, free: 2.258 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5624, allocations: 0 / 1.433 GB, free: 2.258 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5624, allocations: 0 / 1.433 GB, free: 2.258 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.5624, allocations: 0 / 1.433 GB, free: 2.258 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.499e-05/0.5625, allocations: 23.98 kB / 1.433 GB, free: 2.234 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.5629, allocations: 235.9 kB / 1.434 GB, free: 1.961 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 6.799e-05/0.5629, allocations: 26.52 kB / 1.434 GB, free: 1.926 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.5629, allocations: 4.859 kB / 1.434 GB, free: 1.918 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.5631, allocations: 16.05 kB / 1.434 GB, free: 1.902 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.5631, allocations: 34.56 kB / 1.434 GB, free: 1.859 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5631, allocations: 0 / 1.434 GB, free: 1.859 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0002635/0.5634, allocations: 49.69 kB / 1.434 GB, free: 1.805 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.5634, allocations: 55.34 kB / 1.434 GB, free: 1.738 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5635, allocations: 101.8 kB / 1.434 GB, free: 1.629 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.5636, allocations: 33.64 kB / 1.434 GB, free: 1.59 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.5636, allocations: 92.22 kB / 1.434 GB, free: 1.496 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.5636, allocations: 7.891 kB / 1.434 GB, free: 1.488 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.5637, allocations: 13.72 kB / 1.434 GB, free: 1.469 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5639, allocations: 318.8 kB / 1.434 GB, free: 1.148 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.5639, allocations: 4 kB / 1.434 GB, free: 1.145 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.331e-05/0.5639, allocations: 26.52 kB / 1.434 GB, free: 1.109 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.855e-05/0.564, allocations: 42.5 kB / 1.434 GB, free: 1.059 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.564, allocations: 0 / 1.434 GB, free: 1.059 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.435e-05/0.5641, allocations: 53.64 kB / 1.434 GB, free: 1 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.5641, allocations: 7.984 kB / 1.435 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5641, allocations: 0 / 1.435 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.5641, allocations: 7.938 kB / 1.435 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.5642, allocations: 7.938 kB / 1.435 GB, free: 0.9766 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5642, allocations: 4.094 kB / 1.435 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.5642, allocations: 4 kB / 1.435 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.5642, allocations: 0 / 1.435 GB, free: 0.9688 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 8.708e-05/0.5643, allocations: 109.8 kB / 1.435 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.5643, allocations: 3.953 kB / 1.435 GB, free: 0.8477 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.5644, allocations: 7.312 kB / 1.435 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5644, allocations: 7.922 kB / 1.435 GB, free: 0.832 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5644, allocations: 4 kB / 1.435 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.5644, allocations: 0 / 1.435 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.5647, allocations: 334.7 kB / 1.435 GB, free: 456 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5647, allocations: 3.938 kB / 1.435 GB, free: 452 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.5647, allocations: 7.984 kB / 1.435 GB, free: 444 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5647, allocations: 0 / 1.435 GB, free: 444 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.5647, allocations: 288 / 1.435 GB, free: 444 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.5647, allocations: 4 kB / 1.435 GB, free: 440 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5647, allocations: 0 / 1.435 GB, free: 440 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.257e-05/0.5648, allocations: 70 kB / 1.435 GB, free: 348 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.5648, allocations: 19.86 kB / 1.435 GB, free: 328 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.5649, allocations: 0 / 1.435 GB, free: 328 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.565, allocations: 4 kB / 1.435 GB, free: 324 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.565, allocations: 0 / 1.435 GB, free: 324 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.565, allocations: 0 / 1.435 GB, free: 324 kB / 1.123 GB Notification: Performance of sorting global known variables: time 5.295e-05/0.565, allocations: 91.3 kB / 1.435 GB, free: 232 kB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.565, allocations: 0 / 1.435 GB, free: 232 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.000208/0.5652, allocations: 8 kB / 1.435 GB, free: 224 kB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004485/0.5657, allocations: 0.6133 MB / 1.436 GB, free: 15.57 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.82e-05/0.5658, allocations: 11.94 kB / 1.436 GB, free: 15.56 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5658, allocations: 0 / 1.436 GB, free: 15.56 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.5658, allocations: 4 kB / 1.436 GB, free: 15.56 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.5661, allocations: 11.98 kB / 1.436 GB, free: 15.55 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.5665, allocations: 172.3 kB / 1.436 GB, free: 15.34 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.5669, allocations: 0.6844 MB / 1.437 GB, free: 14.63 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.329e-05/0.5669, allocations: 4 kB / 1.437 GB, free: 14.62 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.567, allocations: 7.438 kB / 1.437 GB, free: 14.62 MB / 1.139 GB Notification: Performance of SimCode: time 3.41e-07/0.567, allocations: 3.938 kB / 1.437 GB, free: 14.61 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.5891, allocations: 1.602 MB / 1.438 GB, free: 13.16 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.83, allocations: 6.125 kB / 1.438 GB, free: 13.16 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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: 18.88219079002738]