Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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.001331/0.001331, allocations: 110.8 kB / 16.41 MB, free: 5.973 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.001349/0.001349, allocations: 187.1 kB / 17.35 MB, free: 5.586 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 67.88 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7345/0.7362, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.161/0.8972, allocations: 148.3 MB / 1.233 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001327/0.8974, allocations: 55.31 kB / 1.233 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.8975, allocations: 0 / 1.233 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.8976, allocations: 9.281 kB / 1.233 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.8977, allocations: 10.39 kB / 1.233 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000736/0.8984, allocations: 218.4 kB / 1.234 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.8985, allocations: 32.58 kB / 1.234 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.8986, allocations: 2.062 kB / 1.234 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.8986, allocations: 20.88 kB / 1.234 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.189e-05/0.8987, allocations: 14.56 kB / 1.234 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.8987, allocations: 1.094 kB / 1.234 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004225/0.8991, allocations: 201.2 kB / 1.234 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.8992, allocations: 7.25 kB / 1.234 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.8992, allocations: 17.72 kB / 1.234 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.8994, allocations: 108.8 kB / 1.234 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.8995, allocations: 1.094 kB / 1.234 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8995, allocations: 0 / 1.234 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.8995, allocations: 0 / 1.234 GB, free: 5.789 MB / 0.9669 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.0003673/0.8998, allocations: 335.9 kB / 1.234 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.8999, allocations: 8.906 kB / 1.234 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/0.9002, allocations: 36.72 kB / 1.234 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.9003, allocations: 172.3 kB / 1.235 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/0.9004, allocations: 35.02 kB / 1.235 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.9004, allocations: 1 kB / 1.235 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.9005, allocations: 49.92 kB / 1.235 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.9006, allocations: 3.938 kB / 1.235 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.9006, allocations: 1.125 kB / 1.235 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.9006, allocations: 2.188 kB / 1.235 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.05e-05/0.9007, allocations: 20.52 kB / 1.235 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.901, allocations: 260.8 kB / 1.235 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.901, allocations: 24.14 kB / 1.235 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.9011, allocations: 10.98 kB / 1.235 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.9012, allocations: 94.34 kB / 1.235 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.9013, allocations: 35.73 kB / 1.235 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.9013, allocations: 1.031 kB / 1.235 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002167/0.9015, allocations: 44.11 kB / 1.235 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.9015, allocations: 55.39 kB / 1.235 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.677e-05/0.9016, allocations: 108.5 kB / 1.235 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.9016, allocations: 25.7 kB / 1.235 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.9017, allocations: 93.36 kB / 1.235 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/0.9017, allocations: 13.33 kB / 1.235 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.9017, allocations: 12.5 kB / 1.235 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.9018, allocations: 320 kB / 1.236 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.9019, allocations: 4.094 kB / 1.236 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.9019, allocations: 22.44 kB / 1.236 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.9019, allocations: 35.14 kB / 1.236 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.9019, allocations: 1.188 kB / 1.236 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.071e-05/0.902, allocations: 53.09 kB / 1.236 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.902, allocations: 11.94 kB / 1.236 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9021, allocations: 1 kB / 1.236 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.9021, allocations: 0.9062 kB / 1.236 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.9021, allocations: 6.25 kB / 1.236 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9021, allocations: 5.062 kB / 1.236 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.9022, allocations: 16.8 kB / 1.236 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.9022, allocations: 2.156 kB / 1.236 GB, free: 3.824 MB / 0.9669 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.206e-05/0.9023, allocations: 108.2 kB / 1.236 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.9023, allocations: 1.094 kB / 1.236 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.9023, allocations: 8.344 kB / 1.236 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.9023, allocations: 0 / 1.236 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9023, allocations: 1.25 kB / 1.236 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.9024, allocations: 90.05 kB / 1.236 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.9024, allocations: 0 / 1.236 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.9025, allocations: 6.266 kB / 1.236 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.9025, allocations: 1.188 kB / 1.236 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.888e-05/0.9026, allocations: 115.7 kB / 1.236 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001097/0.9027, allocations: 212.4 kB / 1.236 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.495e-05/0.9028, allocations: 6.406 kB / 1.236 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.411e-05/0.9028, allocations: 83.08 kB / 1.237 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of Backend: time 1.843e-06/0.9028, allocations: 0 / 1.237 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004248/0.9032, allocations: 136.1 kB / 1.237 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0004486/0.9037, allocations: 0.5705 MB / 1.237 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of Templates: time 0.003411/0.9071, allocations: 1.024 MB / 1.238 GB, free: 1.949 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches