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.001227/0.001227, allocations: 108 kB / 15.6 MB, free: 132 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.001203/0.001203, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.449/2.449, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 61.02 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2149, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1193/0.3342, allocations: 147.9 MB / 1.197 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 9.742e-05/0.3343, allocations: 47.86 kB / 1.197 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.3344, allocations: 0 / 1.197 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.84e-05/0.3344, allocations: 7.922 kB / 1.197 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.997e-05/0.3345, allocations: 11.92 kB / 1.197 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.3349, allocations: 107.7 kB / 1.197 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.761e-05/0.335, allocations: 35.84 kB / 1.197 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.204e-05/0.335, allocations: 0 / 1.197 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.3351, allocations: 19.97 kB / 1.197 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.3351, allocations: 11.92 kB / 1.198 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3351, allocations: 4 kB / 1.198 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.3354, allocations: 87.72 kB / 1.198 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.3354, allocations: 4 kB / 1.198 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.3354, allocations: 15.92 kB / 1.198 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.3356, allocations: 72.12 kB / 1.198 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3356, allocations: 0 / 1.198 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3356, allocations: 0 / 1.198 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.423e-06/0.3356, allocations: 3.938 kB / 1.198 GB, free: 3.406 MB / 0.9512 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.000296/0.3359, allocations: 331.6 kB / 1.198 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.336, allocations: 8.625 kB / 1.198 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.336, allocations: 34.75 kB / 1.198 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.3362, allocations: 24.86 kB / 1.198 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.655e-05/0.3363, allocations: 176 kB / 1.198 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.3363, allocations: 29.69 kB / 1.198 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.3363, allocations: 7.938 kB / 1.198 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.3365, allocations: 41.69 kB / 1.198 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.3365, allocations: 0 / 1.198 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3365, allocations: 0 / 1.198 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.3365, allocations: 8 kB / 1.198 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.3366, allocations: 23.92 kB / 1.198 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.3369, allocations: 256.9 kB / 1.199 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 2.894e-05/0.3369, allocations: 14.58 kB / 1.199 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.407e-05/0.3369, allocations: 4.859 kB / 1.199 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-06/0.3369, allocations: 4 kB / 1.199 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.337, allocations: 34.62 kB / 1.199 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.337, allocations: 0 / 1.199 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001087/0.3371, allocations: 37.62 kB / 1.199 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.3371, allocations: 59.34 kB / 1.199 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.3372, allocations: 105.8 kB / 1.199 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3372, allocations: 25.7 kB / 1.199 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.3372, allocations: 96.08 kB / 1.199 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-06/0.3373, allocations: 3.984 kB / 1.199 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.3373, allocations: 17.72 kB / 1.199 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.3374, allocations: 314.8 kB / 1.199 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.3374, allocations: 4 kB / 1.199 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.3374, allocations: 22.59 kB / 1.199 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.3375, allocations: 38.5 kB / 1.199 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3375, allocations: 256 / 1.199 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.044e-05/0.3375, allocations: 49.64 kB / 1.199 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3376, allocations: 8 kB / 1.199 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3376, allocations: 7.984 kB / 1.199 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3376, allocations: 0 / 1.199 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.3376, allocations: 11.94 kB / 1.199 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3376, allocations: 4.094 kB / 1.199 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/0.3377, allocations: 3.906 kB / 1.199 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.3377, allocations: 7.938 kB / 1.199 GB, free: 1.371 MB / 0.9512 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.972e-05/0.3378, allocations: 117.7 kB / 1.2 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.3378, allocations: 8.078 kB / 1.2 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.3378, allocations: 3.125 kB / 1.2 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3378, allocations: 3.938 kB / 1.2 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3378, allocations: 3.984 kB / 1.2 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.3378, allocations: 0 / 1.2 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.338, allocations: 342.8 kB / 1.2 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.338, allocations: 0 / 1.2 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/0.3381, allocations: 7.938 kB / 1.2 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3381, allocations: 0 / 1.2 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.3381, allocations: 3.938 kB / 1.2 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3381, allocations: 0 / 1.2 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3381, allocations: 3.938 kB / 1.2 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.992e-05/0.3381, allocations: 69.17 kB / 1.2 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.3382, allocations: 84.95 kB / 1.2 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.3382, allocations: 0 / 1.2 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.3383, allocations: 7.984 kB / 1.2 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-06/0.3383, allocations: 0 / 1.2 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.3383, allocations: 0 / 1.2 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.3383, allocations: 87.28 kB / 1.2 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3383, allocations: 0 / 1.2 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001767/0.3385, allocations: 8.031 kB / 1.2 GB, free: 0.5312 MB / 0.9512 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.0002481/0.3388, allocations: 0.5968 MB / 1.201 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.127e-05/0.3389, allocations: 12 kB / 1.201 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3389, allocations: 224 / 1.201 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-06/0.3389, allocations: 11.94 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.3391, allocations: 8.172 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.3394, allocations: 140.2 kB / 1.201 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.3395, allocations: 0.6768 MB / 1.202 GB, free: 15 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.75e-05/0.3396, allocations: 8.062 kB / 1.202 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.3396, allocations: 7.438 kB / 1.202 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3396, allocations: 0 / 1.202 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7604/1.1, allocations: 1.346 MB / 1.203 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.937/11.04, allocations: 21.11 kB / 1.203 GB, free: 13.78 MB / 0.9669 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