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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001714/0.001714, allocations: 111.5 kB / 16.42 MB, free: 6.516 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.001109/0.001109, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.278/1.278, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 55.91 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6741/0.6754, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1456/0.821, allocations: 148.3 MB / 1.312 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001386/0.8212, allocations: 51.73 kB / 1.312 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.8212, allocations: 0 / 1.312 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.8214, allocations: 3.938 kB / 1.312 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.807e-05/0.8215, allocations: 15.91 kB / 1.312 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.8222, allocations: 212.6 kB / 1.312 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.8223, allocations: 39.84 kB / 1.312 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.8224, allocations: 0 / 1.312 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.8224, allocations: 15.98 kB / 1.312 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.8225, allocations: 15.92 kB / 1.312 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.8225, allocations: 0 / 1.312 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.823, allocations: 207.4 kB / 1.313 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.823, allocations: 7.984 kB / 1.313 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.8231, allocations: 7.938 kB / 1.313 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.8233, allocations: 111.4 kB / 1.313 GB, free: 14.3 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8233, allocations: 7.938 kB / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8233, allocations: 3.938 kB / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8233, allocations: 0 / 1.313 GB, free: 14.29 MB / 1.045 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.0003662/0.8237, allocations: 336.4 kB / 1.313 GB, free: 13.91 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.8238, allocations: 12.92 kB / 1.313 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/0.8241, allocations: 20.91 kB / 1.313 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.8242, allocations: 172.3 kB / 1.313 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/0.8243, allocations: 41.58 kB / 1.313 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.8243, allocations: 0 / 1.313 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.8244, allocations: 45.69 kB / 1.313 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.8244, allocations: 0 / 1.313 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8244, allocations: 0 / 1.313 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.8245, allocations: 4 kB / 1.313 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.229e-05/0.8245, allocations: 19.98 kB / 1.313 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.8249, allocations: 260.9 kB / 1.314 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.978e-05/0.8249, allocations: 22.52 kB / 1.314 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.8249, allocations: 16.91 kB / 1.314 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.8251, allocations: 85.11 kB / 1.314 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.8251, allocations: 38.55 kB / 1.314 GB, free: 13.05 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.8251, allocations: 4 kB / 1.314 GB, free: 13.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002283/0.8254, allocations: 45.69 kB / 1.314 GB, free: 12.99 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.8254, allocations: 55.34 kB / 1.314 GB, free: 12.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.868e-05/0.8255, allocations: 105.8 kB / 1.314 GB, free: 12.81 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.8255, allocations: 25.7 kB / 1.314 GB, free: 12.78 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.8255, allocations: 92.02 kB / 1.314 GB, free: 12.69 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.8256, allocations: 7.953 kB / 1.314 GB, free: 12.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.8256, allocations: 21.84 kB / 1.314 GB, free: 12.65 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.8257, allocations: 314.8 kB / 1.314 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.8257, allocations: 8 kB / 1.314 GB, free: 12.33 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.8257, allocations: 22.56 kB / 1.314 GB, free: 12.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.8258, allocations: 34.52 kB / 1.314 GB, free: 12.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8258, allocations: 3.938 kB / 1.315 GB, free: 12.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.996e-05/0.8259, allocations: 53.62 kB / 1.315 GB, free: 12.19 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.8259, allocations: 8 kB / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.8259, allocations: 0 / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.8259, allocations: 4 kB / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.826, allocations: 4 kB / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.826, allocations: 7.984 kB / 1.315 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.826, allocations: 7.891 kB / 1.315 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.8261, allocations: 8.094 kB / 1.315 GB, free: 12.15 MB / 1.045 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.566e-05/0.8261, allocations: 109.8 kB / 1.315 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.8262, allocations: 4 kB / 1.315 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.8262, allocations: 7.125 kB / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.8262, allocations: 4.219 kB / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8262, allocations: 0 / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.8262, allocations: 81.05 kB / 1.315 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.8263, allocations: 7.969 kB / 1.315 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.8264, allocations: 4 kB / 1.315 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.8264, allocations: 4 kB / 1.315 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.662e-05/0.8265, allocations: 124.9 kB / 1.315 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001046/0.8266, allocations: 210.7 kB / 1.315 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.142e-05/0.8266, allocations: 4 kB / 1.315 GB, free: 11.55 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.8267, allocations: 87.2 kB / 1.315 GB, free: 11.46 MB / 1.045 GB Notification: Performance of Backend: time 3.91e-07/0.8267, allocations: 4.062 kB / 1.315 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.8271, allocations: 122.2 kB / 1.315 GB, free: 11.33 MB / 1.045 GB Notification: Performance of SimCode: time 0.0004451/0.8276, allocations: 0.5583 MB / 1.316 GB, free: 10.73 MB / 1.045 GB Notification: Performance of Templates: time 0.003332/0.8309, allocations: 1.03 MB / 1.317 GB, free: 9.699 MB / 1.045 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