Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009715, allocations: 98.88 kB / 16.02 MB, free: 76 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.001245/0.001245, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.351/1.351, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 12 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6767, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1439/0.8206, allocations: 144.2 MB / 1.164 GB, free: 15.2 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001165/0.8208, allocations: 47.88 kB / 1.164 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.646e-05/0.8208, allocations: 0 / 1.164 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.8209, allocations: 0 / 1.164 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.821, allocations: 23.91 kB / 1.165 GB, free: 15.13 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.8216, allocations: 191.4 kB / 1.165 GB, free: 14.94 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.8217, allocations: 59.81 kB / 1.165 GB, free: 14.88 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.8218, allocations: 4 kB / 1.165 GB, free: 14.88 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.8218, allocations: 15.92 kB / 1.165 GB, free: 14.86 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.8219, allocations: 15.97 kB / 1.165 GB, free: 14.85 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.8219, allocations: 4 kB / 1.165 GB, free: 14.84 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.8223, allocations: 231.3 kB / 1.165 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.8224, allocations: 7.984 kB / 1.165 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.8224, allocations: 37.62 kB / 1.165 GB, free: 14.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.8226, allocations: 73.88 kB / 1.165 GB, free: 14.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8226, allocations: 0 / 1.165 GB, free: 14.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8226, allocations: 0 / 1.165 GB, free: 14.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.8226, allocations: 0 / 1.165 GB, free: 14.5 MB / 0.92 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.0003394/0.823, allocations: 339.5 kB / 1.165 GB, free: 14.12 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.823, allocations: 12.03 kB / 1.165 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.8233, allocations: 20.91 kB / 1.165 GB, free: 14.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.8234, allocations: 172.3 kB / 1.166 GB, free: 13.88 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.653e-05/0.8235, allocations: 37.58 kB / 1.166 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.8235, allocations: 0 / 1.166 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.8236, allocations: 45.69 kB / 1.166 GB, free: 13.79 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.8237, allocations: 0 / 1.166 GB, free: 13.79 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8237, allocations: 8 kB / 1.166 GB, free: 13.78 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.8237, allocations: 0 / 1.166 GB, free: 13.78 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.8238, allocations: 23.97 kB / 1.166 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.8241, allocations: 264.8 kB / 1.166 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.958e-05/0.8242, allocations: 26.58 kB / 1.166 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.8242, allocations: 8.844 kB / 1.166 GB, free: 13.4 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.8243, allocations: 97.16 kB / 1.166 GB, free: 13.29 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.8244, allocations: 34.56 kB / 1.166 GB, free: 13.24 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.8244, allocations: 0 / 1.166 GB, free: 13.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002295/0.8246, allocations: 53.62 kB / 1.166 GB, free: 13.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.8247, allocations: 51.41 kB / 1.166 GB, free: 13.12 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.251e-05/0.8247, allocations: 101.9 kB / 1.166 GB, free: 13.01 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.8248, allocations: 29.64 kB / 1.166 GB, free: 12.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.8248, allocations: 99.97 kB / 1.166 GB, free: 12.88 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-06/0.8248, allocations: 3.906 kB / 1.167 GB, free: 12.87 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.8249, allocations: 9.719 kB / 1.167 GB, free: 12.86 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.825, allocations: 318.8 kB / 1.167 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.825, allocations: 0 / 1.167 GB, free: 12.54 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.825, allocations: 26.56 kB / 1.167 GB, free: 12.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.376e-05/0.8251, allocations: 34.52 kB / 1.167 GB, free: 12.46 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8251, allocations: 0 / 1.167 GB, free: 12.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.028e-05/0.8252, allocations: 53.62 kB / 1.167 GB, free: 12.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.8252, allocations: 4 kB / 1.167 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.8252, allocations: 0 / 1.167 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.8252, allocations: 8.094 kB / 1.167 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.8253, allocations: 8 kB / 1.167 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.8253, allocations: 7.922 kB / 1.167 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.8253, allocations: 4 kB / 1.167 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.8253, allocations: 0 / 1.167 GB, free: 12.37 MB / 0.92 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.87e-05/0.8254, allocations: 109.8 kB / 1.167 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.8254, allocations: 0 / 1.167 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.8255, allocations: 15 kB / 1.167 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.8255, allocations: 4 kB / 1.167 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8255, allocations: 7.938 kB / 1.167 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.8255, allocations: 0 / 1.167 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.8257, allocations: 359.5 kB / 1.167 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8258, allocations: 0 / 1.167 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.8258, allocations: 11.94 kB / 1.167 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.8258, allocations: 3.938 kB / 1.167 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.8258, allocations: 4 kB / 1.167 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8258, allocations: 64 / 1.167 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.8258, allocations: 4 kB / 1.167 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.526e-05/0.8259, allocations: 65.98 kB / 1.168 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.8259, allocations: 85.05 kB / 1.168 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.826, allocations: 0 / 1.168 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.8261, allocations: 7.984 kB / 1.168 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.8261, allocations: 4.031 kB / 1.168 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.8261, allocations: 8 kB / 1.168 GB, free: 11.58 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.8261, allocations: 83.22 kB / 1.168 GB, free: 11.5 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8261, allocations: 4 kB / 1.168 GB, free: 11.49 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001933/0.8263, allocations: 4 kB / 1.168 GB, free: 11.49 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001089/0.8264, allocations: 107.6 kB / 1.168 GB, free: 11.38 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.8265, allocations: 16 kB / 1.168 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8265, allocations: 0 / 1.168 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.8265, allocations: 11.88 kB / 1.168 GB, free: 11.35 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.8268, allocations: 14.12 kB / 1.168 GB, free: 11.34 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.827, allocations: 159.4 kB / 1.168 GB, free: 11.14 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.8272, allocations: 0.6809 MB / 1.169 GB, free: 10.43 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.8273, allocations: 7.438 kB / 1.169 GB, free: 10.43 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.8273, allocations: 0 / 1.169 GB, free: 10.43 MB / 0.92 GB Notification: Performance of Templates: time 0.001732/0.829, allocations: 0.6153 MB / 1.169 GB, free: 9.812 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches