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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 110.6 kB / 16.37 MB, free: 6.004 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.001037/0.001037, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.46/2.46, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 59.91 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6412/0.9331, allocations: 147.8 MB / 1.171 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000147/0.9333, allocations: 56.89 kB / 1.171 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.9334, allocations: 1.062 kB / 1.171 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.9335, allocations: 0 / 1.171 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.9336, allocations: 15.81 kB / 1.171 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.9341, allocations: 108.5 kB / 1.171 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.68e-05/0.9341, allocations: 34.55 kB / 1.171 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.9342, allocations: 1.094 kB / 1.171 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.9342, allocations: 11.94 kB / 1.171 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.9343, allocations: 19.81 kB / 1.171 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.9343, allocations: 1.531 kB / 1.171 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.9346, allocations: 85.14 kB / 1.171 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.9347, allocations: 10.72 kB / 1.171 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.9347, allocations: 17.19 kB / 1.171 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.9349, allocations: 66.69 kB / 1.172 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.9349, allocations: 0 / 1.172 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9349, allocations: 0 / 1.172 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.9349, allocations: 1.375 kB / 1.172 GB, free: 12.27 MB / 0.8887 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.0003672/0.9353, allocations: 337.4 kB / 1.172 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.9353, allocations: 9.125 kB / 1.172 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.9355, allocations: 20.22 kB / 1.172 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.9357, allocations: 165.1 kB / 1.172 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.9357, allocations: 32.58 kB / 1.172 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.9357, allocations: 5.344 kB / 1.172 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.9359, allocations: 46.83 kB / 1.172 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.9359, allocations: 1.156 kB / 1.172 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.9359, allocations: 3.938 kB / 1.172 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.9359, allocations: 6.094 kB / 1.172 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.122e-05/0.936, allocations: 14.28 kB / 1.172 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.9363, allocations: 265.5 kB / 1.172 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.597e-05/0.9364, allocations: 19.7 kB / 1.172 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.9364, allocations: 6.141 kB / 1.172 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.9364, allocations: 0 / 1.172 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.9365, allocations: 39.75 kB / 1.172 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.9365, allocations: 0 / 1.172 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.9366, allocations: 33.55 kB / 1.172 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.9366, allocations: 52.75 kB / 1.173 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.9367, allocations: 108.2 kB / 1.173 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.9367, allocations: 25.7 kB / 1.173 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.9368, allocations: 99.16 kB / 1.173 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.9368, allocations: 5.469 kB / 1.173 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.9368, allocations: 23.56 kB / 1.173 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.937, allocations: 312.4 kB / 1.173 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.937, allocations: 2.906 kB / 1.173 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.937, allocations: 30.05 kB / 1.173 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.9371, allocations: 32.73 kB / 1.173 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.9371, allocations: 0 / 1.173 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.71e-05/0.9372, allocations: 51.89 kB / 1.173 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9372, allocations: 6.094 kB / 1.173 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.9372, allocations: 0 / 1.173 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.9372, allocations: 3.141 kB / 1.173 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.9373, allocations: 10.44 kB / 1.173 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.9373, allocations: 5.188 kB / 1.173 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.9373, allocations: 4.812 kB / 1.173 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.9374, allocations: 11.23 kB / 1.173 GB, free: 10.48 MB / 0.8887 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.626e-05/0.9374, allocations: 114.5 kB / 1.173 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.9375, allocations: 2.031 kB / 1.173 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.9375, allocations: 7.125 kB / 1.173 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.9375, allocations: 1.188 kB / 1.173 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9375, allocations: 3.938 kB / 1.173 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.9375, allocations: 4.844 kB / 1.173 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.9377, allocations: 353.1 kB / 1.174 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9378, allocations: 1.125 kB / 1.174 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/0.9378, allocations: 3.781 kB / 1.174 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.9378, allocations: 3.938 kB / 1.174 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.9378, allocations: 0.9688 kB / 1.174 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.9378, allocations: 0 / 1.174 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9378, allocations: 3.312 kB / 1.174 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.407e-05/0.9379, allocations: 55.77 kB / 1.174 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.9379, allocations: 84.17 kB / 1.174 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.938, allocations: 5 kB / 1.174 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.938, allocations: 4 kB / 1.174 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.9381, allocations: 1.125 kB / 1.174 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.9381, allocations: 0 / 1.174 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.109e-05/0.9381, allocations: 87.11 kB / 1.174 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9381, allocations: 0 / 1.174 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001902/0.9383, allocations: 6.562 kB / 1.174 GB, free: 9.707 MB / 0.8887 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 8.617e-05/0.9384, allocations: 108.3 kB / 1.174 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.006e-05/0.9385, allocations: 11.09 kB / 1.174 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9385, allocations: 1.125 kB / 1.174 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.039e-06/0.9385, allocations: 1.188 kB / 1.174 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.9387, allocations: 11.59 kB / 1.174 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.9389, allocations: 117.6 kB / 1.174 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.9392, allocations: 0.6793 MB / 1.175 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 4.424e-05/0.9393, allocations: 6.594 kB / 1.175 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.9393, allocations: 8.562 kB / 1.175 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of SimCode: time 2.1e-07/0.9393, allocations: 1.094 kB / 1.175 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of Templates: time 0.00223/0.9415, allocations: 0.5017 MB / 1.175 GB, free: 8.746 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (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 & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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