Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001757/0.001757, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002099/0.002099, allocations: 215 kB / 20.13 MB, free: 2.949 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.422/1.422, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.833/2.833, allocations: 0.5003 GB / 0.8026 GB, free: 6.711 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.002377/0.002377, allocations: 67.89 kB / 1.165 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.919/0.9213, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1752/1.097, allocations: 151.1 MB / 1.488 GB, free: 14.5 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001443/1.097, allocations: 63.41 kB / 1.488 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/1.097, allocations: 0 / 1.488 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/1.097, allocations: 0.9375 kB / 1.488 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.794e-05/1.097, allocations: 11.2 kB / 1.488 GB, free: 14.44 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/1.097, allocations: 112.9 kB / 1.488 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 8.327e-05/1.097, allocations: 32.45 kB / 1.488 GB, free: 14.35 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.027e-05/1.097, allocations: 2.375 kB / 1.488 GB, free: 14.35 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/1.097, allocations: 21.41 kB / 1.488 GB, free: 14.34 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/1.098, allocations: 17.62 kB / 1.488 GB, free: 14.32 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/1.098, allocations: 1.562 kB / 1.488 GB, free: 14.32 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/1.098, allocations: 86.2 kB / 1.488 GB, free: 14.27 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/1.098, allocations: 14.73 kB / 1.488 GB, free: 14.26 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/1.098, allocations: 13.16 kB / 1.488 GB, free: 14.25 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/1.098, allocations: 72.42 kB / 1.488 GB, free: 14.22 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.098, allocations: 3.984 kB / 1.488 GB, free: 14.21 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.362e-06/1.098, allocations: 0 / 1.488 GB, free: 14.21 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.098, allocations: 1.5 kB / 1.488 GB, free: 14.21 MB / 1.17 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.000406/1.098, allocations: 336 kB / 1.488 GB, free: 13.85 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/1.098, allocations: 8.969 kB / 1.488 GB, free: 13.85 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.367e-05/1.098, allocations: 5.344 kB / 1.488 GB, free: 13.85 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.821e-05/1.098, allocations: 35.91 kB / 1.489 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/1.099, allocations: 16.86 kB / 1.489 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/1.099, allocations: 169.2 kB / 1.489 GB, free: 13.6 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/1.099, allocations: 26.83 kB / 1.489 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/1.099, allocations: 1.25 kB / 1.489 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/1.099, allocations: 47.81 kB / 1.489 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/1.099, allocations: 1.25 kB / 1.489 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/1.099, allocations: 4 kB / 1.489 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/1.099, allocations: 2.5 kB / 1.489 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.463e-05/1.099, allocations: 17.8 kB / 1.489 GB, free: 13.51 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/1.099, allocations: 265.2 kB / 1.489 GB, free: 13.22 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/1.1, allocations: 19.64 kB / 1.489 GB, free: 13.19 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/1.1, allocations: 10.02 kB / 1.489 GB, free: 13.18 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-06/1.1, allocations: 1.469 kB / 1.489 GB, free: 13.18 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.1, allocations: 39.45 kB / 1.489 GB, free: 13.13 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.1, allocations: 0 / 1.489 GB, free: 13.13 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/1.1, allocations: 35.42 kB / 1.489 GB, free: 13.1 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/1.1, allocations: 51.41 kB / 1.489 GB, free: 13.04 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/1.1, allocations: 105.6 kB / 1.489 GB, free: 12.93 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.1, allocations: 26.98 kB / 1.489 GB, free: 12.9 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/1.1, allocations: 93.42 kB / 1.489 GB, free: 12.8 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/1.1, allocations: 5.469 kB / 1.489 GB, free: 12.8 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/1.1, allocations: 20.41 kB / 1.489 GB, free: 12.78 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.1, allocations: 320.2 kB / 1.49 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/1.1, allocations: 2.875 kB / 1.49 GB, free: 12.46 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/1.1, allocations: 24.38 kB / 1.49 GB, free: 12.43 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/1.1, allocations: 33.66 kB / 1.49 GB, free: 12.39 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.1, allocations: 1.469 kB / 1.49 GB, free: 12.39 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.949e-05/1.1, allocations: 57 kB / 1.49 GB, free: 12.35 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.1, allocations: 13.42 kB / 1.49 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/1.1, allocations: 1.406 kB / 1.49 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.1, allocations: 3.938 kB / 1.49 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/1.1, allocations: 9.812 kB / 1.49 GB, free: 12.33 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/1.1, allocations: 1.531 kB / 1.49 GB, free: 12.33 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/1.1, allocations: 1.062 kB / 1.49 GB, free: 12.33 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/1.1, allocations: 5.969 kB / 1.49 GB, free: 12.33 MB / 1.17 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 7.289e-05/1.1, allocations: 108.1 kB / 1.49 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/1.1, allocations: 2.875 kB / 1.49 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.717e-05/1.1, allocations: 7.109 kB / 1.49 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.1, allocations: 5.125 kB / 1.49 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.1, allocations: 256 / 1.49 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/1.1, allocations: 4 kB / 1.49 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/1.101, allocations: 350.6 kB / 1.49 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.101, allocations: 4.906 kB / 1.49 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/1.101, allocations: 1.344 kB / 1.49 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/1.101, allocations: 1.25 kB / 1.49 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/1.101, allocations: 4 kB / 1.49 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.101, allocations: 0 / 1.49 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.101, allocations: 1.375 kB / 1.49 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.529e-05/1.101, allocations: 62.67 kB / 1.49 GB, free: 11.72 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/1.101, allocations: 82.23 kB / 1.49 GB, free: 11.62 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/1.101, allocations: 1.219 kB / 1.49 GB, free: 11.62 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/1.101, allocations: 6.328 kB / 1.491 GB, free: 11.62 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/1.101, allocations: 7.938 kB / 1.491 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/1.101, allocations: 1.375 kB / 1.491 GB, free: 11.61 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.721e-05/1.101, allocations: 80.81 kB / 1.491 GB, free: 11.54 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/1.101, allocations: 4.031 kB / 1.491 GB, free: 11.54 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001794/1.101, allocations: 5.531 kB / 1.491 GB, free: 11.54 MB / 1.17 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.000327/1.102, allocations: 0.5962 MB / 1.491 GB, free: 10.93 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.309e-05/1.102, allocations: 25.67 kB / 1.491 GB, free: 10.92 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.102, allocations: 0 / 1.491 GB, free: 10.92 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.19e-06/1.102, allocations: 2.062 kB / 1.491 GB, free: 10.92 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/1.102, allocations: 4.219 kB / 1.491 GB, free: 10.92 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/1.102, allocations: 145.3 kB / 1.491 GB, free: 10.76 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/1.102, allocations: 0.6771 MB / 1.492 GB, free: 10.06 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.098e-05/1.102, allocations: 7.531 kB / 1.492 GB, free: 10.06 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/1.102, allocations: 9.75 kB / 1.492 GB, free: 10.05 MB / 1.17 GB Notification: Performance of SimCode: time 2.91e-07/1.102, allocations: 3.938 kB / 1.492 GB, free: 10.05 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09534/1.198, allocations: 1.429 MB / 1.493 GB, free: 9.32 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/9.436, allocations: 22.25 kB / 1.493 GB, free: 9.309 MB / 1.17 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.943682526005432]