Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001373/0.001373, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001515/0.001515, allocations: 218.7 kB / 22.25 MB, free: 5.125 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.992 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.826/2.826, allocations: 476.7 MB / 0.7707 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",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.002014/0.002014, allocations: 65.22 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3283, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1831/0.5113, allocations: 151.2 MB / 1.431 GB, free: 3.863 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001679/0.5115, allocations: 47.86 kB / 1.431 GB, free: 3.816 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.5115, allocations: 4 kB / 1.431 GB, free: 3.812 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.5117, allocations: 11.86 kB / 1.431 GB, free: 3.801 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 8.722e-05/0.5117, allocations: 3.938 kB / 1.431 GB, free: 3.797 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.5123, allocations: 118 kB / 1.431 GB, free: 3.684 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.5124, allocations: 39.84 kB / 1.431 GB, free: 3.645 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.5125, allocations: 4 kB / 1.431 GB, free: 3.641 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.5125, allocations: 15.98 kB / 1.431 GB, free: 3.625 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 8.025e-05/0.5126, allocations: 11.92 kB / 1.431 GB, free: 3.613 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.5126, allocations: 0 / 1.431 GB, free: 3.613 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.5129, allocations: 91.7 kB / 1.431 GB, free: 3.523 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.513, allocations: 15.98 kB / 1.431 GB, free: 3.508 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.513, allocations: 4 kB / 1.431 GB, free: 3.504 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.5132, allocations: 83.28 kB / 1.431 GB, free: 3.426 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5132, allocations: 0 / 1.431 GB, free: 3.426 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.053e-06/0.5132, allocations: 0 / 1.431 GB, free: 3.426 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.5132, allocations: 0 / 1.431 GB, free: 3.426 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.0004597/0.5137, allocations: 270.2 kB / 1.432 GB, free: 3.133 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.5137, allocations: 8.031 kB / 1.432 GB, free: 3.125 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.5138, allocations: 34.73 kB / 1.432 GB, free: 3.082 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.514, allocations: 20.92 kB / 1.432 GB, free: 3.062 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.5141, allocations: 114.3 kB / 1.432 GB, free: 2.926 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.272e-05/0.5142, allocations: 59.41 kB / 1.432 GB, free: 2.855 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.5142, allocations: 0 / 1.432 GB, free: 2.855 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.5144, allocations: 45.67 kB / 1.432 GB, free: 2.805 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.5144, allocations: 0 / 1.432 GB, free: 2.805 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.5144, allocations: 4 kB / 1.432 GB, free: 2.801 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.5144, allocations: 11.94 kB / 1.432 GB, free: 2.789 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.07e-05/0.5145, allocations: 19.92 kB / 1.432 GB, free: 2.77 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.5149, allocations: 231.9 kB / 1.432 GB, free: 2.5 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 5.493e-05/0.515, allocations: 18.58 kB / 1.432 GB, free: 2.473 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.515, allocations: 8.797 kB / 1.432 GB, free: 2.461 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.515, allocations: 0 / 1.432 GB, free: 2.461 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.5151, allocations: 38.62 kB / 1.432 GB, free: 2.414 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.5151, allocations: 0 / 1.432 GB, free: 2.414 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.5152, allocations: 33.64 kB / 1.432 GB, free: 2.375 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.5153, allocations: 55.34 kB / 1.432 GB, free: 2.309 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.5154, allocations: 109.8 kB / 1.432 GB, free: 2.191 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.5154, allocations: 25.7 kB / 1.432 GB, free: 2.16 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.5155, allocations: 96.02 kB / 1.433 GB, free: 2.062 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-06/0.5155, allocations: 8.078 kB / 1.433 GB, free: 2.055 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.5155, allocations: 21.7 kB / 1.433 GB, free: 2.027 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5157, allocations: 310.8 kB / 1.433 GB, free: 1.715 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.5157, allocations: 4 kB / 1.433 GB, free: 1.711 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.5157, allocations: 26.56 kB / 1.433 GB, free: 1.676 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.211e-05/0.5158, allocations: 34.52 kB / 1.433 GB, free: 1.633 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5158, allocations: 0 / 1.433 GB, free: 1.633 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.46e-05/0.5159, allocations: 53.62 kB / 1.433 GB, free: 1.574 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.5159, allocations: 8 kB / 1.433 GB, free: 1.566 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5159, allocations: 0 / 1.433 GB, free: 1.566 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5159, allocations: 0 / 1.433 GB, free: 1.566 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.516, allocations: 7.938 kB / 1.433 GB, free: 1.559 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.516, allocations: 7.938 kB / 1.433 GB, free: 1.551 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.516, allocations: 8.047 kB / 1.433 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.516, allocations: 4 kB / 1.433 GB, free: 1.539 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 9.218e-05/0.5161, allocations: 109.8 kB / 1.433 GB, free: 1.422 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.5161, allocations: 8 kB / 1.433 GB, free: 1.414 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.457e-05/0.5162, allocations: 3.156 kB / 1.433 GB, free: 1.414 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5162, allocations: 3.938 kB / 1.433 GB, free: 1.41 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5162, allocations: 0 / 1.433 GB, free: 1.41 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.5162, allocations: 0 / 1.433 GB, free: 1.41 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.5165, allocations: 317.8 kB / 1.433 GB, free: 1.047 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.5165, allocations: 3.984 kB / 1.433 GB, free: 1.043 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.5165, allocations: 7.938 kB / 1.433 GB, free: 1.035 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5165, allocations: 0 / 1.433 GB, free: 1.035 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.5165, allocations: 4.188 kB / 1.433 GB, free: 1.031 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5165, allocations: 4 kB / 1.433 GB, free: 1.027 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5165, allocations: 0 / 1.433 GB, free: 1.027 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.592e-05/0.5166, allocations: 61.17 kB / 1.434 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.5166, allocations: 7.891 kB / 1.434 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.5166, allocations: 7.984 kB / 1.434 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.5167, allocations: 0 / 1.434 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.5167, allocations: 96 / 1.434 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.5167, allocations: 7.922 kB / 1.434 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of sorting global known variables: time 6.044e-05/0.5168, allocations: 91.27 kB / 1.434 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5168, allocations: 0 / 1.434 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002002/0.517, allocations: 4 kB / 1.434 GB, free: 0.832 MB / 1.123 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 (1): * Single equations (assignments): 1 * 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.0004057/0.5174, allocations: 0.5968 MB / 1.434 GB, free: 212 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 8.156e-05/0.5175, allocations: 11.98 kB / 1.434 GB, free: 200 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5175, allocations: 4 kB / 1.434 GB, free: 196 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-06/0.5175, allocations: 8.156 kB / 1.434 GB, free: 188 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.5177, allocations: 8.062 kB / 1.434 GB, free: 180 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.5181, allocations: 136.5 kB / 1.434 GB, free: 0 / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.5185, allocations: 0.6769 MB / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.565e-05/0.5185, allocations: 7.984 kB / 1.435 GB, free: 15.29 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.5186, allocations: 15.44 kB / 1.435 GB, free: 15.27 MB / 1.139 GB Notification: Performance of SimCode: time 4.11e-07/0.5186, allocations: 0 / 1.435 GB, free: 15.27 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.5477, allocations: 1.472 MB / 1.437 GB, free: 13.94 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.75, allocations: 5 kB / 1.437 GB, free: 13.94 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.462587600108236]