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.001099/0.001099, allocations: 112.2 kB / 16.42 MB, free: 6.426 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.001034/0.001034, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.388/2.388, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 72.02 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6815/0.683, 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.1418/0.8249, allocations: 148.3 MB / 1.312 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001228/0.825, allocations: 55.86 kB / 1.312 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.825, allocations: 0 / 1.312 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.851e-05/0.8252, allocations: 3.938 kB / 1.312 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.8253, allocations: 19.91 kB / 1.312 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006804/0.826, allocations: 215.2 kB / 1.312 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.19e-05/0.826, allocations: 35.84 kB / 1.312 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.8261, allocations: 7.969 kB / 1.312 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.8261, allocations: 12 kB / 1.312 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.8262, allocations: 19.91 kB / 1.312 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.8262, allocations: 4 kB / 1.312 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.8266, allocations: 195.4 kB / 1.313 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.8267, allocations: 15.97 kB / 1.313 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.8267, allocations: 7.938 kB / 1.313 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.827, allocations: 116.3 kB / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.827, allocations: 0 / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.12e-07/0.827, allocations: 0 / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.827, 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.0003608/0.8274, allocations: 347.4 kB / 1.313 GB, free: 13.9 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.8274, allocations: 8.922 kB / 1.313 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.8277, allocations: 20.91 kB / 1.313 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.8278, allocations: 172.3 kB / 1.313 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.8279, allocations: 29.64 kB / 1.313 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.8279, allocations: 0 / 1.313 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.828, allocations: 45.69 kB / 1.313 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.828, allocations: 4 kB / 1.313 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.8281, allocations: 4 kB / 1.313 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.8281, allocations: 3.984 kB / 1.313 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.181e-05/0.8281, allocations: 19.98 kB / 1.313 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.8285, allocations: 260.9 kB / 1.314 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.87e-05/0.8286, allocations: 26.5 kB / 1.314 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.8286, allocations: 12.92 kB / 1.314 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.8288, allocations: 97.09 kB / 1.314 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.8288, allocations: 30.56 kB / 1.314 GB, free: 13.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.8288, allocations: 0 / 1.314 GB, free: 13.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002512/0.829, allocations: 53.62 kB / 1.314 GB, free: 12.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.8291, allocations: 55.53 kB / 1.314 GB, free: 12.91 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/0.8292, allocations: 101.8 kB / 1.314 GB, free: 12.8 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.8292, allocations: 29.69 kB / 1.314 GB, free: 12.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.8293, allocations: 92.03 kB / 1.314 GB, free: 12.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.8293, allocations: 3.953 kB / 1.314 GB, free: 12.67 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.8293, allocations: 17.72 kB / 1.314 GB, free: 12.65 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.8294, allocations: 314.8 kB / 1.314 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.8294, allocations: 7.984 kB / 1.314 GB, free: 12.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.8295, allocations: 26.58 kB / 1.314 GB, free: 12.29 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.158e-05/0.8295, allocations: 34.45 kB / 1.315 GB, free: 12.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8295, allocations: 0 / 1.315 GB, free: 12.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.225e-05/0.8296, allocations: 53.62 kB / 1.315 GB, free: 12.19 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.8296, allocations: 12.09 kB / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.8296, allocations: 0 / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.8297, allocations: 0 / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.8297, allocations: 11.98 kB / 1.315 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8297, allocations: 0 / 1.315 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.8298, allocations: 7.891 kB / 1.315 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.8298, allocations: 4 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 7.135e-05/0.8299, allocations: 109.8 kB / 1.315 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.8299, allocations: 4 kB / 1.315 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.8299, allocations: 7.125 kB / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.8299, allocations: 0 / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8299, allocations: 0 / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.83, allocations: 85.03 kB / 1.315 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.83, allocations: 4 kB / 1.315 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.8301, allocations: 3.938 kB / 1.315 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.8301, allocations: 4.281 kB / 1.315 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.172e-05/0.8302, allocations: 117 kB / 1.315 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001193/0.8303, allocations: 218.8 kB / 1.315 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.135e-05/0.8304, allocations: 15.92 kB / 1.315 GB, free: 11.54 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.006e-05/0.8304, allocations: 79.28 kB / 1.315 GB, free: 11.46 MB / 1.045 GB Notification: Performance of Backend: time 2.7e-07/0.8304, allocations: 0 / 1.315 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004346/0.8309, allocations: 128.5 kB / 1.315 GB, free: 11.33 MB / 1.045 GB Notification: Performance of SimCode: time 0.0004263/0.8313, allocations: 0.5675 MB / 1.316 GB, free: 10.72 MB / 1.045 GB Notification: Performance of Templates: time 0.003518/0.8348, allocations: 1.016 MB / 1.317 GB, free: 9.703 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