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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.007637/0.007637, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.001576/0.001576, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.541/2.541, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 68.02 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.791/0.7923, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1607/0.953, allocations: 147.8 MB / 1.352 GB, free: 9.145 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000183/0.9532, allocations: 55.88 kB / 1.352 GB, free: 9.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.9533, allocations: 0 / 1.352 GB, free: 9.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.9534, allocations: 11.92 kB / 1.352 GB, free: 9.078 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.574e-05/0.9536, allocations: 7.922 kB / 1.352 GB, free: 9.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.9543, allocations: 115.5 kB / 1.352 GB, free: 8.957 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.9544, allocations: 27.86 kB / 1.352 GB, free: 8.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/0.9544, allocations: 7.984 kB / 1.352 GB, free: 8.922 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.9545, allocations: 19.98 kB / 1.352 GB, free: 8.902 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.587e-05/0.9546, allocations: 11.98 kB / 1.352 GB, free: 8.891 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.9546, allocations: 3.938 kB / 1.352 GB, free: 8.887 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.955, allocations: 87.72 kB / 1.352 GB, free: 8.801 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.955, allocations: 7.984 kB / 1.352 GB, free: 8.793 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.9551, allocations: 7.984 kB / 1.352 GB, free: 8.785 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.9553, allocations: 74.09 kB / 1.352 GB, free: 8.715 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.9553, allocations: 0 / 1.352 GB, free: 8.715 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.507e-06/0.9554, allocations: 0 / 1.352 GB, free: 8.715 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.9554, allocations: 0 / 1.352 GB, free: 8.715 MB / 1.076 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.0005609/0.956, allocations: 339.5 kB / 1.352 GB, free: 8.336 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.956, allocations: 12.03 kB / 1.352 GB, free: 8.324 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.9561, allocations: 30.75 kB / 1.352 GB, free: 8.285 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.9564, allocations: 20.83 kB / 1.352 GB, free: 8.266 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.9565, allocations: 172.1 kB / 1.353 GB, free: 8.059 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/0.9566, allocations: 37.64 kB / 1.353 GB, free: 8.016 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.9566, allocations: 0 / 1.353 GB, free: 8.016 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.9568, allocations: 45.69 kB / 1.353 GB, free: 7.965 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.9568, allocations: 0 / 1.353 GB, free: 7.965 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.9568, allocations: 11.97 kB / 1.353 GB, free: 7.953 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.9568, allocations: 0 / 1.353 GB, free: 7.953 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.9569, allocations: 19.98 kB / 1.353 GB, free: 7.934 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.9574, allocations: 256.8 kB / 1.353 GB, free: 7.633 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.906e-05/0.9574, allocations: 26.52 kB / 1.353 GB, free: 7.598 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.9574, allocations: 8.922 kB / 1.353 GB, free: 7.586 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.9575, allocations: 0 / 1.353 GB, free: 7.586 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.9575, allocations: 34.55 kB / 1.353 GB, free: 7.543 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.9575, allocations: 0 / 1.353 GB, free: 7.543 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.9576, allocations: 41.55 kB / 1.353 GB, free: 7.496 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.9577, allocations: 55.47 kB / 1.353 GB, free: 7.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.9578, allocations: 109.8 kB / 1.353 GB, free: 7.312 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.9578, allocations: 29.7 kB / 1.353 GB, free: 7.277 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.9578, allocations: 87.98 kB / 1.353 GB, free: 7.188 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-06/0.9578, allocations: 0 / 1.353 GB, free: 7.188 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.9579, allocations: 21.62 kB / 1.353 GB, free: 7.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.958, allocations: 318.8 kB / 1.354 GB, free: 6.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.958, allocations: 0 / 1.354 GB, free: 6.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.958, allocations: 30.58 kB / 1.354 GB, free: 6.801 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.9581, allocations: 34.5 kB / 1.354 GB, free: 6.758 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9581, allocations: 0 / 1.354 GB, free: 6.758 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.205e-05/0.9582, allocations: 49.64 kB / 1.354 GB, free: 6.703 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.9582, allocations: 7.984 kB / 1.354 GB, free: 6.695 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.9582, allocations: 4.094 kB / 1.354 GB, free: 6.691 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.9582, allocations: 4 kB / 1.354 GB, free: 6.688 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.9583, allocations: 7.938 kB / 1.354 GB, free: 6.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.9583, allocations: 0 / 1.354 GB, free: 6.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.9584, allocations: 4.25 kB / 1.354 GB, free: 6.676 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.9584, allocations: 4 kB / 1.354 GB, free: 6.672 MB / 1.076 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.522e-05/0.9585, allocations: 111.4 kB / 1.354 GB, free: 6.555 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.9585, allocations: 0 / 1.354 GB, free: 6.555 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.9585, allocations: 11.11 kB / 1.354 GB, free: 6.543 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.9585, allocations: 11.94 kB / 1.354 GB, free: 6.531 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.9585, allocations: 0 / 1.354 GB, free: 6.531 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9585, allocations: 0 / 1.354 GB, free: 6.531 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.9588, allocations: 342.7 kB / 1.354 GB, free: 6.137 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9588, allocations: 0 / 1.354 GB, free: 6.137 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.9589, allocations: 7.875 kB / 1.354 GB, free: 6.129 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9589, allocations: 3.938 kB / 1.354 GB, free: 6.125 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.9589, allocations: 4 kB / 1.354 GB, free: 6.121 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9589, allocations: 4.031 kB / 1.354 GB, free: 6.117 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9589, allocations: 0 / 1.354 GB, free: 6.117 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.54e-05/0.959, allocations: 64.97 kB / 1.354 GB, free: 6.035 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.959, allocations: 85.05 kB / 1.354 GB, free: 5.934 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.959, allocations: 0 / 1.354 GB, free: 5.934 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.9591, allocations: 3.984 kB / 1.354 GB, free: 5.93 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.9591, allocations: 4 kB / 1.354 GB, free: 5.926 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-06/0.9591, allocations: 4.031 kB / 1.354 GB, free: 5.922 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.9592, allocations: 83.28 kB / 1.355 GB, free: 5.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9592, allocations: 0 / 1.355 GB, free: 5.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002092/0.9594, allocations: 8 kB / 1.355 GB, free: 5.832 MB / 1.076 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.0003335/0.9598, allocations: 0.5929 MB / 1.355 GB, free: 5.211 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.119e-05/0.9599, allocations: 19.95 kB / 1.355 GB, free: 5.191 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9599, allocations: 0 / 1.355 GB, free: 5.191 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.9599, allocations: 4 kB / 1.355 GB, free: 5.188 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.9601, allocations: 4 kB / 1.355 GB, free: 5.184 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.9605, allocations: 144.2 kB / 1.355 GB, free: 5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.9607, allocations: 0.677 MB / 1.356 GB, free: 4.297 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.724e-05/0.9608, allocations: 12.08 kB / 1.356 GB, free: 4.285 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.9608, allocations: 11.44 kB / 1.356 GB, free: 4.277 MB / 1.076 GB Notification: Performance of SimCode: time 2.3e-07/0.9608, allocations: 0 / 1.356 GB, free: 4.277 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.9779, allocations: 1.379 MB / 1.357 GB, free: 3.074 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.924, allocations: 7.062 kB / 1.357 GB, free: 3.07 MB / 1.076 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) 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) Reference file matches