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.001306/0.001306, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001484/0.001484, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.807/2.807, allocations: 476.8 MB / 0.7715 GB, free: 3.914 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.002013/0.002013, allocations: 70.28 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3597, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1765/0.5362, allocations: 129.9 MB / 1.411 GB, free: 8.371 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001583/0.5364, allocations: 55.8 kB / 1.411 GB, free: 8.316 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.5364, allocations: 0 / 1.411 GB, free: 8.316 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.5365, allocations: 0 / 1.411 GB, free: 8.316 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.854e-05/0.5366, allocations: 15.92 kB / 1.411 GB, free: 8.301 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.537, allocations: 112.7 kB / 1.411 GB, free: 8.191 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.5371, allocations: 31.91 kB / 1.411 GB, free: 8.16 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.5372, allocations: 0 / 1.411 GB, free: 8.16 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.5372, allocations: 23.91 kB / 1.411 GB, free: 8.137 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.5373, allocations: 7.938 kB / 1.411 GB, free: 8.129 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.5373, allocations: 4 kB / 1.411 GB, free: 8.125 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.5376, allocations: 75.72 kB / 1.411 GB, free: 8.051 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.5376, allocations: 7.984 kB / 1.411 GB, free: 8.043 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.5376, allocations: 11.94 kB / 1.411 GB, free: 8.031 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.5378, allocations: 64.84 kB / 1.411 GB, free: 7.973 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5378, allocations: 0 / 1.411 GB, free: 7.973 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5378, allocations: 0 / 1.411 GB, free: 7.973 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.5378, allocations: 0 / 1.411 GB, free: 7.973 MB / 1.107 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.0004163/0.5383, allocations: 274.2 kB / 1.412 GB, free: 7.676 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.5383, allocations: 11.97 kB / 1.412 GB, free: 7.664 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.303e-05/0.5383, allocations: 192 / 1.412 GB, free: 7.664 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.5383, allocations: 38.73 kB / 1.412 GB, free: 7.617 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.5386, allocations: 24.92 kB / 1.412 GB, free: 7.594 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.5387, allocations: 110 kB / 1.412 GB, free: 7.461 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.5388, allocations: 51.41 kB / 1.412 GB, free: 7.398 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.5388, allocations: 4 kB / 1.412 GB, free: 7.395 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.539, allocations: 71.38 kB / 1.412 GB, free: 7.312 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.539, allocations: 4 kB / 1.412 GB, free: 7.309 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.539, allocations: 0 / 1.412 GB, free: 7.309 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.539, allocations: 0 / 1.412 GB, free: 7.309 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/0.5391, allocations: 23.92 kB / 1.412 GB, free: 7.285 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.5395, allocations: 228 kB / 1.412 GB, free: 7.02 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.5396, allocations: 22.58 kB / 1.412 GB, free: 6.988 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/0.5396, allocations: 4.859 kB / 1.412 GB, free: 6.98 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.5396, allocations: 0 / 1.412 GB, free: 6.98 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.5396, allocations: 30.56 kB / 1.412 GB, free: 6.941 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.5396, allocations: 0 / 1.412 GB, free: 6.941 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001522/0.5398, allocations: 49.58 kB / 1.412 GB, free: 6.887 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.5398, allocations: 55.34 kB / 1.412 GB, free: 6.82 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.5399, allocations: 105.8 kB / 1.412 GB, free: 6.707 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.5399, allocations: 29.83 kB / 1.412 GB, free: 6.672 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.54, allocations: 88.09 kB / 1.412 GB, free: 6.582 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-06/0.54, allocations: 7.891 kB / 1.412 GB, free: 6.574 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.54, allocations: 17.72 kB / 1.412 GB, free: 6.551 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5402, allocations: 310.8 kB / 1.413 GB, free: 6.238 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.5402, allocations: 11.98 kB / 1.413 GB, free: 6.227 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.5403, allocations: 18.58 kB / 1.413 GB, free: 6.199 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.976e-05/0.5403, allocations: 30.52 kB / 1.413 GB, free: 6.16 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.5403, allocations: 7.984 kB / 1.413 GB, free: 6.152 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.129e-05/0.5404, allocations: 53.64 kB / 1.413 GB, free: 6.094 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5404, allocations: 6.656 kB / 1.413 GB, free: 6.09 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5404, allocations: 0 / 1.413 GB, free: 6.09 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.5404, allocations: 3.938 kB / 1.413 GB, free: 6.086 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.5405, allocations: 16.17 kB / 1.413 GB, free: 6.07 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5405, allocations: 0 / 1.413 GB, free: 6.07 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.5406, allocations: 8 kB / 1.413 GB, free: 6.062 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.5406, allocations: 0 / 1.413 GB, free: 6.062 MB / 1.107 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.545e-05/0.5407, allocations: 117.9 kB / 1.413 GB, free: 5.938 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.5407, allocations: 3.953 kB / 1.413 GB, free: 5.934 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.5407, allocations: 3.156 kB / 1.413 GB, free: 5.934 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5407, allocations: 3.938 kB / 1.413 GB, free: 5.93 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.5407, allocations: 4.094 kB / 1.413 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5407, allocations: 7.969 kB / 1.413 GB, free: 5.918 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.541, allocations: 313.8 kB / 1.413 GB, free: 5.559 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.541, allocations: 3.938 kB / 1.413 GB, free: 5.555 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.471e-05/0.541, allocations: 0 / 1.413 GB, free: 5.555 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.541, allocations: 4 kB / 1.413 GB, free: 5.551 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.541, allocations: 0 / 1.413 GB, free: 5.551 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.541, allocations: 4.031 kB / 1.413 GB, free: 5.547 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.541, allocations: 0 / 1.413 GB, free: 5.547 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.878e-05/0.5411, allocations: 61.08 kB / 1.413 GB, free: 5.469 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.5411, allocations: 7.922 kB / 1.413 GB, free: 5.461 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.5412, allocations: 3.938 kB / 1.413 GB, free: 5.457 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.5413, allocations: 4 kB / 1.413 GB, free: 5.453 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.5413, allocations: 0 / 1.413 GB, free: 5.453 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.5413, allocations: 0 / 1.413 GB, free: 5.453 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.657e-05/0.5413, allocations: 91.27 kB / 1.414 GB, free: 5.363 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5413, allocations: 0 / 1.414 GB, free: 5.363 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001987/0.5415, allocations: 8.031 kB / 1.414 GB, free: 5.355 MB / 1.107 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.0004394/0.542, allocations: 0.6007 MB / 1.414 GB, free: 4.727 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.542, allocations: 15.94 kB / 1.414 GB, free: 4.711 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5421, allocations: 0 / 1.414 GB, free: 4.711 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 5.029e-06/0.5421, allocations: 0 / 1.414 GB, free: 4.711 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.5424, allocations: 5.719 kB / 1.414 GB, free: 4.707 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.5428, allocations: 152.8 kB / 1.414 GB, free: 4.516 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.46e-05/0.5429, allocations: 63.3 kB / 1.414 GB, free: 4.434 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.976e-05/0.543, allocations: 7.984 kB / 1.414 GB, free: 4.426 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.543, allocations: 11.38 kB / 1.414 GB, free: 4.414 MB / 1.107 GB Notification: Performance of SimCode: time 5.71e-07/0.543, allocations: 0 / 1.414 GB, free: 4.414 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.5659, allocations: 1.562 MB / 1.416 GB, free: 3.004 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.3, allocations: 10.48 kB / 1.416 GB, free: 3 MB / 1.107 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: 19.047895641997457]