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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 104.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002417/0.002417, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7611 GB, free: 15.72 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 71.88 kB / 1.104 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9291/0.931, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1962/1.127, allocations: 148.3 MB / 1.414 GB, free: 10.29 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001721/1.127, allocations: 55.67 kB / 1.414 GB, free: 10.24 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/1.127, allocations: 0 / 1.414 GB, free: 10.24 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/1.128, allocations: 4.906 kB / 1.414 GB, free: 10.24 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/1.128, allocations: 19.12 kB / 1.414 GB, free: 10.22 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/1.128, allocations: 119 kB / 1.414 GB, free: 10.14 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/1.128, allocations: 29.33 kB / 1.414 GB, free: 10.12 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/1.128, allocations: 5.203 kB / 1.414 GB, free: 10.12 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/1.128, allocations: 17.02 kB / 1.414 GB, free: 10.11 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/1.129, allocations: 10.12 kB / 1.414 GB, free: 10.11 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/1.129, allocations: 5.031 kB / 1.414 GB, free: 10.11 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/1.129, allocations: 87.36 kB / 1.414 GB, free: 10.05 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/1.129, allocations: 10.5 kB / 1.414 GB, free: 10.05 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/1.129, allocations: 13.81 kB / 1.414 GB, free: 10.04 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/1.129, allocations: 79.2 kB / 1.414 GB, free: 9.996 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.129, allocations: 4 kB / 1.414 GB, free: 9.992 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.332e-06/1.129, allocations: 0.9062 kB / 1.414 GB, free: 9.992 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.921e-06/1.129, allocations: 0 / 1.414 GB, free: 9.992 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.0004934/1.13, allocations: 336.7 kB / 1.414 GB, free: 9.629 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/1.13, allocations: 10.25 kB / 1.414 GB, free: 9.629 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/1.13, allocations: 34.75 kB / 1.414 GB, free: 9.586 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/1.13, allocations: 25.53 kB / 1.414 GB, free: 9.574 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/1.13, allocations: 173.3 kB / 1.415 GB, free: 9.367 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-05/1.13, allocations: 26.77 kB / 1.415 GB, free: 9.336 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/1.13, allocations: 1.375 kB / 1.415 GB, free: 9.336 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/1.13, allocations: 47.84 kB / 1.415 GB, free: 9.293 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.13, allocations: 3.984 kB / 1.415 GB, free: 9.289 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/1.13, allocations: 1.219 kB / 1.415 GB, free: 9.289 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/1.13, allocations: 1.312 kB / 1.415 GB, free: 9.289 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/1.131, allocations: 22.73 kB / 1.415 GB, free: 9.277 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/1.131, allocations: 261.5 kB / 1.415 GB, free: 8.988 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 5.43e-05/1.131, allocations: 20.16 kB / 1.415 GB, free: 8.961 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/1.131, allocations: 6.234 kB / 1.415 GB, free: 8.953 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/1.131, allocations: 3.938 kB / 1.415 GB, free: 8.949 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.131, allocations: 31.62 kB / 1.415 GB, free: 8.91 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/1.131, allocations: 4 kB / 1.415 GB, free: 8.906 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.00015/1.131, allocations: 31.27 kB / 1.415 GB, free: 8.875 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/1.131, allocations: 61 kB / 1.415 GB, free: 8.805 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/1.131, allocations: 104.4 kB / 1.415 GB, free: 8.699 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/1.131, allocations: 26.77 kB / 1.415 GB, free: 8.668 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/1.131, allocations: 89.3 kB / 1.415 GB, free: 8.578 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-06/1.131, allocations: 1.438 kB / 1.415 GB, free: 8.578 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/1.132, allocations: 25.47 kB / 1.415 GB, free: 8.551 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.132, allocations: 316 kB / 1.416 GB, free: 8.234 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/1.132, allocations: 2.375 kB / 1.416 GB, free: 8.234 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.577e-05/1.132, allocations: 31.25 kB / 1.416 GB, free: 8.199 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/1.132, allocations: 26.45 kB / 1.416 GB, free: 8.172 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.132, allocations: 5.125 kB / 1.416 GB, free: 8.168 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/1.132, allocations: 53.75 kB / 1.416 GB, free: 8.125 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.132, allocations: 5.094 kB / 1.416 GB, free: 8.125 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.132, allocations: 1.531 kB / 1.416 GB, free: 8.125 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.132, allocations: 1.688 kB / 1.416 GB, free: 8.125 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/1.132, allocations: 12.41 kB / 1.416 GB, free: 8.117 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.132, allocations: 0.8438 kB / 1.416 GB, free: 8.117 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/1.132, allocations: 2.719 kB / 1.416 GB, free: 8.117 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/1.132, allocations: 1.5 kB / 1.416 GB, free: 8.117 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.374e-05/1.132, allocations: 125.3 kB / 1.416 GB, free: 7.988 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/1.132, allocations: 1.344 kB / 1.416 GB, free: 7.988 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/1.132, allocations: 3.125 kB / 1.416 GB, free: 7.984 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/1.132, allocations: 5.188 kB / 1.416 GB, free: 7.98 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.132, allocations: 0 / 1.416 GB, free: 7.98 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/1.132, allocations: 1.438 kB / 1.416 GB, free: 7.98 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/1.133, allocations: 350.1 kB / 1.416 GB, free: 7.586 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.133, allocations: 8.219 kB / 1.416 GB, free: 7.578 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/1.133, allocations: 9.172 kB / 1.416 GB, free: 7.57 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/1.133, allocations: 5.094 kB / 1.416 GB, free: 7.566 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/1.133, allocations: 0 / 1.416 GB, free: 7.566 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.133, allocations: 1.406 kB / 1.416 GB, free: 7.566 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/1.133, allocations: 0 / 1.416 GB, free: 7.566 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.266e-05/1.133, allocations: 55.55 kB / 1.416 GB, free: 7.5 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/1.133, allocations: 90.56 kB / 1.416 GB, free: 7.395 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/1.133, allocations: 5.516 kB / 1.416 GB, free: 7.391 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/1.133, allocations: 1.531 kB / 1.416 GB, free: 7.391 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/1.133, allocations: 0 / 1.416 GB, free: 7.391 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/1.133, allocations: 1.062 kB / 1.416 GB, free: 7.391 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.778e-05/1.133, allocations: 88.42 kB / 1.416 GB, free: 7.309 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.133, allocations: 0 / 1.416 GB, free: 7.309 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002006/1.133, allocations: 9.656 kB / 1.416 GB, free: 7.305 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.0004241/1.134, allocations: 0.5942 MB / 1.417 GB, free: 6.707 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 9.953e-05/1.134, allocations: 16.83 kB / 1.417 GB, free: 6.699 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.134, allocations: 0 / 1.417 GB, free: 6.699 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 9.749e-06/1.134, allocations: 5.531 kB / 1.417 GB, free: 6.695 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/1.134, allocations: 4.406 kB / 1.417 GB, free: 6.695 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/1.134, allocations: 140.2 kB / 1.417 GB, free: 6.543 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/1.135, allocations: 0.6766 MB / 1.418 GB, free: 5.844 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 6.632e-05/1.135, allocations: 8.109 kB / 1.418 GB, free: 5.84 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/1.135, allocations: 8.719 kB / 1.418 GB, free: 5.832 MB / 1.107 GB Notification: Performance of SimCode: time 5.11e-07/1.135, allocations: 0 / 1.418 GB, free: 5.832 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/1.162, allocations: 1.402 MB / 1.419 GB, free: 5.078 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/9.402, allocations: 10.45 kB / 1.419 GB, free: 5.07 MB / 1.107 GB " [Timeout remaining time 291] (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_2/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: 15.504787012934685]