Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.001758/0.001758, allocations: 105.2 kB / 16.41 MB, free: 6.449 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.002625/0.002625, allocations: 189.6 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.747/2.747, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.695/3.695, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 59.84 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23/1.233, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2924/1.525, allocations: 148.3 MB / 1.353 GB, free: 8.934 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001839/1.525, allocations: 59.84 kB / 1.353 GB, free: 8.875 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/1.525, allocations: 3.938 kB / 1.353 GB, free: 8.871 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/1.526, allocations: 4 kB / 1.353 GB, free: 8.867 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.091e-05/1.526, allocations: 11.91 kB / 1.353 GB, free: 8.855 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/1.527, allocations: 215.2 kB / 1.353 GB, free: 8.645 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/1.527, allocations: 35.84 kB / 1.354 GB, free: 8.609 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/1.527, allocations: 0 / 1.354 GB, free: 8.609 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/1.527, allocations: 15.98 kB / 1.354 GB, free: 8.594 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/1.527, allocations: 11.92 kB / 1.354 GB, free: 8.582 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/1.527, allocations: 0 / 1.354 GB, free: 8.582 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000612/1.528, allocations: 199.4 kB / 1.354 GB, free: 8.387 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/1.528, allocations: 11.97 kB / 1.354 GB, free: 8.375 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/1.528, allocations: 11.94 kB / 1.354 GB, free: 8.363 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003719/1.528, allocations: 113.6 kB / 1.354 GB, free: 8.254 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.528, allocations: 11.94 kB / 1.354 GB, free: 8.242 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.753e-06/1.528, allocations: 0 / 1.354 GB, free: 8.242 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.528, allocations: 0 / 1.354 GB, free: 8.242 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.0004937/1.529, allocations: 335.5 kB / 1.354 GB, free: 7.867 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.529, allocations: 15.97 kB / 1.354 GB, free: 7.852 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004721/1.529, allocations: 24.81 kB / 1.354 GB, free: 7.828 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/1.53, allocations: 164.4 kB / 1.354 GB, free: 7.629 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/1.53, allocations: 37.64 kB / 1.354 GB, free: 7.586 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/1.53, allocations: 0 / 1.354 GB, free: 7.586 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/1.53, allocations: 45.69 kB / 1.354 GB, free: 7.535 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.53, allocations: 0 / 1.354 GB, free: 7.535 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/1.53, allocations: 4 kB / 1.354 GB, free: 7.531 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/1.53, allocations: 4 kB / 1.354 GB, free: 7.527 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/1.53, allocations: 19.98 kB / 1.354 GB, free: 7.508 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004593/1.535, allocations: 264.8 kB / 1.355 GB, free: 7.199 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.726e-05/1.535, allocations: 22.58 kB / 1.355 GB, free: 7.168 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/1.535, allocations: 12.91 kB / 1.355 GB, free: 7.152 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/1.535, allocations: 85.11 kB / 1.355 GB, free: 7.051 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/1.535, allocations: 42.55 kB / 1.355 GB, free: 7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 5.33e-06/1.535, allocations: 4 kB / 1.355 GB, free: 6.996 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003757/1.536, allocations: 45.62 kB / 1.355 GB, free: 6.945 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.536, allocations: 51.41 kB / 1.355 GB, free: 6.883 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.536, allocations: 105.8 kB / 1.355 GB, free: 6.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/1.536, allocations: 25.7 kB / 1.355 GB, free: 6.738 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/1.536, allocations: 95.97 kB / 1.355 GB, free: 6.641 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/1.536, allocations: 7.906 kB / 1.355 GB, free: 6.633 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/1.536, allocations: 13.84 kB / 1.355 GB, free: 6.613 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.536, allocations: 322.8 kB / 1.356 GB, free: 6.289 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/1.536, allocations: 4 kB / 1.356 GB, free: 6.285 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/1.536, allocations: 26.56 kB / 1.356 GB, free: 6.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.932e-05/1.536, allocations: 34.45 kB / 1.356 GB, free: 6.207 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.536, allocations: 4 kB / 1.356 GB, free: 6.203 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001452/1.536, allocations: 57.53 kB / 1.356 GB, free: 6.141 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.536, allocations: 8 kB / 1.356 GB, free: 6.133 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.536, allocations: 0 / 1.356 GB, free: 6.133 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/1.536, allocations: 0 / 1.356 GB, free: 6.133 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/1.537, allocations: 4 kB / 1.356 GB, free: 6.129 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/1.537, allocations: 7.984 kB / 1.356 GB, free: 6.121 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/1.537, allocations: 3.938 kB / 1.356 GB, free: 6.117 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/1.537, allocations: 4 kB / 1.356 GB, free: 6.113 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 9.48e-05/1.537, allocations: 109.9 kB / 1.356 GB, free: 5.996 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/1.537, allocations: 7.938 kB / 1.356 GB, free: 5.988 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/1.537, allocations: 11.06 kB / 1.356 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.537, allocations: 288 / 1.356 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.537, allocations: 0 / 1.356 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/1.537, allocations: 81.05 kB / 1.356 GB, free: 5.879 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/1.537, allocations: 3.984 kB / 1.356 GB, free: 5.875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/1.537, allocations: 7.984 kB / 1.356 GB, free: 5.867 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/1.537, allocations: 4 kB / 1.356 GB, free: 5.863 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001204/1.537, allocations: 113 kB / 1.356 GB, free: 5.746 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000177/1.538, allocations: 214.7 kB / 1.356 GB, free: 5.52 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.54e-05/1.538, allocations: 4 kB / 1.356 GB, free: 5.516 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.081e-05/1.538, allocations: 87.27 kB / 1.356 GB, free: 5.43 MB / 1.076 GB Notification: Performance of Backend: time 6.01e-07/1.538, allocations: 0 / 1.356 GB, free: 5.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007832/1.538, allocations: 130.4 kB / 1.356 GB, free: 5.297 MB / 1.076 GB Notification: Performance of SimCode: time 0.0006708/1.539, allocations: 0.5581 MB / 1.357 GB, free: 4.691 MB / 1.076 GB Notification: Performance of Templates: time 0.005707/1.545, allocations: 1.03 MB / 1.358 GB, free: 3.668 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches