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.001479/0.001479, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.155/2.155, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.88 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4795, allocations: 140.4 MB / 0.9497 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1362/0.6158, allocations: 147.8 MB / 1.094 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/0.6159, allocations: 51.86 kB / 1.094 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.616, allocations: 0 / 1.094 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.036e-05/0.6161, allocations: 3.938 kB / 1.094 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.6162, allocations: 19.86 kB / 1.094 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.6166, allocations: 111.3 kB / 1.094 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.443e-05/0.6167, allocations: 35.8 kB / 1.094 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.6167, allocations: 7.984 kB / 1.094 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.6167, allocations: 11.98 kB / 1.094 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.6168, allocations: 7.984 kB / 1.094 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.6168, allocations: 4 kB / 1.094 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.6171, allocations: 87.72 kB / 1.094 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.6171, allocations: 11.92 kB / 1.094 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.6172, allocations: 11.98 kB / 1.094 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.6173, allocations: 74.09 kB / 1.095 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6173, allocations: 0 / 1.095 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6173, allocations: 0 / 1.095 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6173, allocations: 0 / 1.095 GB, free: 13.12 MB / 0.8575 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.0003252/0.6177, allocations: 344.9 kB / 1.095 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.6177, allocations: 8.031 kB / 1.095 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.6178, allocations: 38.75 kB / 1.095 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.618, allocations: 16.92 kB / 1.095 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.6181, allocations: 172.1 kB / 1.095 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.6181, allocations: 25.7 kB / 1.095 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.6182, allocations: 4 kB / 1.095 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.6183, allocations: 41.69 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.6183, allocations: 0 / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.6183, allocations: 4 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.6183, allocations: 3.984 kB / 1.095 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.251e-05/0.6184, allocations: 23.92 kB / 1.095 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.6187, allocations: 264.8 kB / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.241e-05/0.6188, allocations: 14.58 kB / 1.095 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.6188, allocations: 4.859 kB / 1.095 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.6188, allocations: 8.047 kB / 1.095 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.6188, allocations: 38.55 kB / 1.095 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6188, allocations: 0 / 1.095 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000119/0.619, allocations: 37.64 kB / 1.096 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.619, allocations: 55.34 kB / 1.096 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.554e-05/0.6191, allocations: 109.8 kB / 1.096 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.6191, allocations: 29.7 kB / 1.096 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.6192, allocations: 87.98 kB / 1.096 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-06/0.6192, allocations: 3.906 kB / 1.096 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.6192, allocations: 21.84 kB / 1.096 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.6193, allocations: 314.8 kB / 1.096 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.6193, allocations: 8 kB / 1.096 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.6193, allocations: 18.58 kB / 1.096 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.6194, allocations: 38.44 kB / 1.096 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.6194, allocations: 4 kB / 1.096 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.788e-05/0.6195, allocations: 53.62 kB / 1.096 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.6195, allocations: 8 kB / 1.096 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.6195, allocations: 0 / 1.096 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.6195, allocations: 0 / 1.096 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.6196, allocations: 11.94 kB / 1.096 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.6196, allocations: 0 / 1.096 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.6196, allocations: 0 / 1.096 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.6196, allocations: 4.094 kB / 1.096 GB, free: 11.09 MB / 0.8575 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 6.144e-05/0.6197, allocations: 117.9 kB / 1.096 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.6197, allocations: 11.89 kB / 1.096 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.521e-05/0.6198, allocations: 7.109 kB / 1.096 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6198, allocations: 3.938 kB / 1.096 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6198, allocations: 0 / 1.096 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.6198, allocations: 0 / 1.096 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.62, allocations: 338.8 kB / 1.097 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.62, allocations: 8.031 kB / 1.097 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-05/0.62, allocations: 3.938 kB / 1.097 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.62, allocations: 0 / 1.097 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.62, allocations: 0 / 1.097 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.62, allocations: 0 / 1.097 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6201, allocations: 7.922 kB / 1.097 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.295e-05/0.6201, allocations: 61.08 kB / 1.097 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.6201, allocations: 81.05 kB / 1.097 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.6202, allocations: 8.031 kB / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.6203, allocations: 3.984 kB / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-06/0.6203, allocations: 0 / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-06/0.6203, allocations: 0 / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.286e-05/0.6203, allocations: 91.53 kB / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6203, allocations: 0 / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001872/0.6205, allocations: 4 kB / 1.097 GB, free: 10.25 MB / 0.8575 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.0002661/0.6208, allocations: 0.6045 MB / 1.098 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.986e-05/0.6209, allocations: 19.98 kB / 1.098 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6209, allocations: 0 / 1.098 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.302e-06/0.6209, allocations: 3.938 kB / 1.098 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.6211, allocations: 4 kB / 1.098 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.6214, allocations: 136.6 kB / 1.098 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.6216, allocations: 0.6768 MB / 1.098 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.986e-05/0.6217, allocations: 7.938 kB / 1.098 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.6217, allocations: 7.438 kB / 1.098 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.6217, allocations: 4 kB / 1.098 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/0.7732, allocations: 1.335 MB / 1.1 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.861, allocations: 4.5 kB / 1.1 GB, free: 7.477 MB / 0.8575 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