Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006325/0.006325, allocations: 104.8 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001533, allocations: 195.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6648 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 66.38 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.207, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1245/0.3315, allocations: 147.8 MB / 1.232 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.3317, allocations: 47.86 kB / 1.232 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.3317, allocations: 0 / 1.232 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.832e-05/0.3318, allocations: 11.92 kB / 1.232 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-05/0.3319, allocations: 7.938 kB / 1.232 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.3323, allocations: 109.9 kB / 1.232 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.3324, allocations: 35.84 kB / 1.232 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.042e-05/0.3324, allocations: 3.984 kB / 1.232 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.3324, allocations: 12 kB / 1.232 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.3325, allocations: 23.84 kB / 1.232 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.3325, allocations: 0 / 1.232 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.3327, allocations: 87.72 kB / 1.232 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.3328, allocations: 7.984 kB / 1.232 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.3328, allocations: 11.94 kB / 1.232 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3329, allocations: 78.64 kB / 1.232 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3329, allocations: 0 / 1.232 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3329, allocations: 7.938 kB / 1.232 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.333, allocations: 0 / 1.232 GB, free: 13.12 MB / 0.9981 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.0002971/0.3333, allocations: 328.4 kB / 1.233 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.3333, allocations: 8.031 kB / 1.233 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.3333, allocations: 34.75 kB / 1.233 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.3335, allocations: 24.83 kB / 1.233 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.3336, allocations: 172.1 kB / 1.233 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.3337, allocations: 29.7 kB / 1.233 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.3337, allocations: 0 / 1.233 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.3338, allocations: 49.67 kB / 1.233 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3338, allocations: 3.938 kB / 1.233 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.3338, allocations: 0 / 1.233 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3338, allocations: 8 kB / 1.233 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.4e-05/0.3339, allocations: 15.98 kB / 1.233 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.3342, allocations: 256.9 kB / 1.233 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.103e-05/0.3342, allocations: 22.58 kB / 1.233 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/0.3343, allocations: 4.859 kB / 1.233 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-06/0.3343, allocations: 4 kB / 1.233 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.3343, allocations: 46.55 kB / 1.233 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3343, allocations: 0 / 1.233 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 9.759e-05/0.3344, allocations: 29.7 kB / 1.233 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.3344, allocations: 55.34 kB / 1.233 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.3345, allocations: 105.8 kB / 1.233 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.3345, allocations: 25.7 kB / 1.233 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.3346, allocations: 100.1 kB / 1.234 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-06/0.3346, allocations: 0 / 1.234 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.3346, allocations: 13.72 kB / 1.234 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.3347, allocations: 318.8 kB / 1.234 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.3347, allocations: 4 kB / 1.234 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.3347, allocations: 22.52 kB / 1.234 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.3348, allocations: 34.56 kB / 1.234 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3348, allocations: 0 / 1.234 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.011e-05/0.3348, allocations: 61.47 kB / 1.234 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.3349, allocations: 9.406 kB / 1.234 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.3349, allocations: 3.938 kB / 1.234 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.3349, allocations: 0 / 1.234 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.3349, allocations: 15.88 kB / 1.234 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.3349, allocations: 96 / 1.234 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.879e-05/0.335, allocations: 11.94 kB / 1.234 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.335, allocations: 7.984 kB / 1.234 GB, free: 11.07 MB / 0.9981 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 5.237e-05/0.3351, allocations: 105.8 kB / 1.234 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.3351, allocations: 4 kB / 1.234 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.3e-05/0.3351, allocations: 7.109 kB / 1.234 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3351, allocations: 3.938 kB / 1.234 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3351, allocations: 0 / 1.234 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-06/0.3351, allocations: 0 / 1.234 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3353, allocations: 350.8 kB / 1.234 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3353, allocations: 3.938 kB / 1.234 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.3354, allocations: 7.938 kB / 1.234 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.3354, allocations: 0 / 1.234 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.3354, allocations: 256 / 1.234 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3354, allocations: 4 kB / 1.234 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3354, allocations: 0 / 1.234 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.215e-05/0.3354, allocations: 61.16 kB / 1.235 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.3355, allocations: 84.95 kB / 1.235 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.3355, allocations: 0 / 1.235 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.3356, allocations: 11.98 kB / 1.235 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-06/0.3356, allocations: 0 / 1.235 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-06/0.3356, allocations: 0 / 1.235 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.3356, allocations: 79.28 kB / 1.235 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3356, allocations: 4 kB / 1.235 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001794/0.3358, allocations: 4 kB / 1.235 GB, free: 10.25 MB / 0.9981 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.0002362/0.3361, allocations: 0.6012 MB / 1.235 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.902e-05/0.3361, allocations: 23.92 kB / 1.235 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.3361, allocations: 0 / 1.235 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-06/0.3362, allocations: 4.219 kB / 1.235 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.3363, allocations: 4 kB / 1.235 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.3366, allocations: 140.2 kB / 1.235 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.3368, allocations: 0.6806 MB / 1.236 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.966e-05/0.3368, allocations: 8.141 kB / 1.236 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.3369, allocations: 11.44 kB / 1.236 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.3369, allocations: 0 / 1.236 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.022/1.359, allocations: 1.368 MB / 1.237 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/9.127, allocations: 7.688 kB / 1.237 GB, free: 7.461 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches