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.001674/0.001674, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00147/0.00147, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.899/2.899, allocations: 476.7 MB / 0.7678 GB, free: 9.484 MB / 0.6075 GB " [Timeout remaining time 176] 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.002111/0.002111, allocations: 67.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9346/0.9367, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2017/1.138, allocations: 151.1 MB / 1.427 GB, free: 4.777 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001574/1.139, allocations: 51.86 kB / 1.427 GB, free: 4.727 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/1.139, allocations: 0 / 1.427 GB, free: 4.727 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/1.139, allocations: 7.922 kB / 1.427 GB, free: 4.719 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.639e-05/1.139, allocations: 11.92 kB / 1.427 GB, free: 4.707 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/1.139, allocations: 107.7 kB / 1.427 GB, free: 4.602 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/1.139, allocations: 35.84 kB / 1.427 GB, free: 4.566 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/1.139, allocations: 0 / 1.427 GB, free: 4.566 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/1.139, allocations: 15.98 kB / 1.427 GB, free: 4.551 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/1.14, allocations: 15.91 kB / 1.427 GB, free: 4.535 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/1.14, allocations: 7.938 kB / 1.427 GB, free: 4.527 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/1.14, allocations: 91.7 kB / 1.427 GB, free: 4.438 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/1.14, allocations: 12 kB / 1.427 GB, free: 4.426 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/1.14, allocations: 11.92 kB / 1.427 GB, free: 4.414 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/1.14, allocations: 73.67 kB / 1.427 GB, free: 4.344 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/1.14, allocations: 3.938 kB / 1.427 GB, free: 4.34 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.072e-06/1.14, allocations: 0 / 1.427 GB, free: 4.34 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.57e-06/1.14, allocations: 0 / 1.427 GB, free: 4.34 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.0004819/1.141, allocations: 347.3 kB / 1.427 GB, free: 3.953 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.141, allocations: 8.031 kB / 1.427 GB, free: 3.945 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.776e-05/1.141, allocations: 4.188 kB / 1.427 GB, free: 3.941 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/1.141, allocations: 30.75 kB / 1.427 GB, free: 3.902 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/1.141, allocations: 16.92 kB / 1.427 GB, free: 3.887 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/1.141, allocations: 168 kB / 1.428 GB, free: 3.684 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/1.141, allocations: 25.7 kB / 1.428 GB, free: 3.652 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/1.141, allocations: 0 / 1.428 GB, free: 3.652 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/1.141, allocations: 49.67 kB / 1.428 GB, free: 3.598 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.141, allocations: 0 / 1.428 GB, free: 3.598 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/1.141, allocations: 4 kB / 1.428 GB, free: 3.594 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/1.141, allocations: 4 kB / 1.428 GB, free: 3.59 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.42e-05/1.142, allocations: 19.92 kB / 1.428 GB, free: 3.57 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/1.142, allocations: 268.8 kB / 1.428 GB, free: 3.258 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 5.033e-05/1.142, allocations: 18.58 kB / 1.428 GB, free: 3.23 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/1.142, allocations: 8.859 kB / 1.428 GB, free: 3.219 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/1.142, allocations: 0 / 1.428 GB, free: 3.219 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/1.142, allocations: 38.56 kB / 1.428 GB, free: 3.172 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.142, allocations: 0 / 1.428 GB, free: 3.172 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001592/1.142, allocations: 45.62 kB / 1.428 GB, free: 3.121 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/1.142, allocations: 51.41 kB / 1.428 GB, free: 3.059 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.546e-05/1.142, allocations: 101.9 kB / 1.428 GB, free: 2.949 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/1.142, allocations: 25.83 kB / 1.428 GB, free: 2.918 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/1.142, allocations: 100.1 kB / 1.428 GB, free: 2.816 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/1.142, allocations: 3.953 kB / 1.428 GB, free: 2.812 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/1.143, allocations: 13.72 kB / 1.428 GB, free: 2.793 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.143, allocations: 314.8 kB / 1.429 GB, free: 2.477 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/1.143, allocations: 7.984 kB / 1.429 GB, free: 2.469 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/1.143, allocations: 18.58 kB / 1.429 GB, free: 2.441 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.382e-05/1.143, allocations: 38.45 kB / 1.429 GB, free: 2.395 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.143, allocations: 0 / 1.429 GB, free: 2.395 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001043/1.143, allocations: 53.62 kB / 1.429 GB, free: 2.336 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.143, allocations: 4 kB / 1.429 GB, free: 2.332 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.143, allocations: 7.938 kB / 1.429 GB, free: 2.324 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.143, allocations: 3.938 kB / 1.429 GB, free: 2.32 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/1.143, allocations: 12.08 kB / 1.429 GB, free: 2.309 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.143, allocations: 4 kB / 1.429 GB, free: 2.305 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/1.143, allocations: 7.953 kB / 1.429 GB, free: 2.297 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/1.143, allocations: 0 / 1.429 GB, free: 2.297 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 8.717e-05/1.143, allocations: 114.6 kB / 1.429 GB, free: 2.176 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/1.143, allocations: 0 / 1.429 GB, free: 2.176 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/1.143, allocations: 7.125 kB / 1.429 GB, free: 2.164 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.143, allocations: 3.938 kB / 1.429 GB, free: 2.16 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.143, allocations: 0 / 1.429 GB, free: 2.16 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.143, allocations: 4 kB / 1.429 GB, free: 2.156 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/1.144, allocations: 350.8 kB / 1.429 GB, free: 1.754 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.144, allocations: 3.938 kB / 1.429 GB, free: 1.75 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/1.144, allocations: 7.984 kB / 1.429 GB, free: 1.742 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.144, allocations: 0 / 1.429 GB, free: 1.742 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/1.144, allocations: 0 / 1.429 GB, free: 1.742 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.144, allocations: 0 / 1.429 GB, free: 1.742 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.144, allocations: 3.938 kB / 1.429 GB, free: 1.738 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.214e-05/1.144, allocations: 61.16 kB / 1.429 GB, free: 1.66 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/1.144, allocations: 81.05 kB / 1.429 GB, free: 1.562 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/1.144, allocations: 0 / 1.429 GB, free: 1.562 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/1.144, allocations: 8.25 kB / 1.429 GB, free: 1.555 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/1.144, allocations: 0 / 1.429 GB, free: 1.555 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/1.144, allocations: 4 kB / 1.429 GB, free: 1.551 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.448e-05/1.144, allocations: 83.27 kB / 1.429 GB, free: 1.469 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.11e-07/1.144, allocations: 4.031 kB / 1.429 GB, free: 1.465 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001993/1.144, allocations: 8 kB / 1.429 GB, free: 1.457 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.0004613/1.145, allocations: 0.6006 MB / 1.43 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 9.758e-05/1.145, allocations: 12.16 kB / 1.43 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.145, allocations: 4.062 kB / 1.43 GB, free: 0.8125 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/1.145, allocations: 7.938 kB / 1.43 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/1.145, allocations: 11.28 kB / 1.43 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/1.145, allocations: 140.1 kB / 1.43 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/1.146, allocations: 0.6729 MB / 1.431 GB, free: 15.92 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 4.839e-05/1.146, allocations: 12.05 kB / 1.431 GB, free: 15.91 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/1.146, allocations: 7.438 kB / 1.431 GB, free: 15.9 MB / 1.123 GB Notification: Performance of SimCode: time 3.61e-07/1.146, allocations: 0 / 1.431 GB, free: 15.9 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/1.164, allocations: 1.423 MB / 1.432 GB, free: 14.65 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.985/10.15, allocations: 17.33 kB / 1.432 GB, free: 14.64 MB / 1.123 GB " [Timeout remaining time 290] (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: 16.470554403960705]