Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 111.6 kB / 16.42 MB, free: 6.508 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.001207/0.001207, allocations: 187.9 kB / 17.34 MB, free: 5.738 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8817/0.8831, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.259/1.142, allocations: 236.4 MB / 1.439 GB, free: 396 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02932/1.172, allocations: 17.54 MB / 1.456 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003803/1.175, allocations: 91.5 kB / 1.457 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006721/1.182, allocations: 2.114 MB / 1.459 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/1.194, allocations: 3.573 MB / 1.462 GB, free: 8.996 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.007515/1.201, allocations: 2.585 MB / 1.465 GB, free: 6.422 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01236/1.214, allocations: 7.89 MB / 1.472 GB, free: 14.52 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004068/1.218, allocations: 1.934 MB / 1.474 GB, free: 12.53 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006853/1.225, allocations: 2.732 MB / 1.477 GB, free: 9.789 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003545/1.228, allocations: 1.64 MB / 1.479 GB, free: 8.148 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0008478/1.229, allocations: 208 kB / 1.479 GB, free: 7.945 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007571/1.237, allocations: 3.594 MB / 1.482 GB, free: 4.344 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001485/1.238, allocations: 0.8996 MB / 1.483 GB, free: 3.441 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003052/1.241, allocations: 1.38 MB / 1.484 GB, free: 2.055 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.009876/1.251, allocations: 4.915 MB / 1.489 GB, free: 13.12 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.251, allocations: 0 / 1.489 GB, free: 13.12 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.843e-06/1.251, allocations: 0 / 1.489 GB, free: 13.12 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001587/1.251, allocations: 0 / 1.489 GB, free: 13.12 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.007728/1.259, allocations: 3.249 MB / 1.492 GB, free: 9.797 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.259, allocations: 12.02 kB / 1.492 GB, free: 9.785 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005802/1.265, allocations: 0.8746 MB / 1.493 GB, free: 8.906 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006124/1.271, allocations: 2.794 MB / 1.496 GB, free: 6.039 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.271, allocations: 106.6 kB / 1.496 GB, free: 5.934 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/1.272, allocations: 140 kB / 1.496 GB, free: 5.797 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/1.276, allocations: 1.675 MB / 1.498 GB, free: 4.043 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/1.276, allocations: 7.938 kB / 1.498 GB, free: 4.035 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/1.276, allocations: 52 kB / 1.498 GB, free: 3.984 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/1.276, allocations: 50.5 kB / 1.498 GB, free: 3.934 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004024/1.28, allocations: 1.446 MB / 1.499 GB, free: 2.48 MB / 1.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/1.293, allocations: 8.12 MB / 1.507 GB, free: 9.777 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/1.296, allocations: 1.55 MB / 1.509 GB, free: 8.098 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/1.297, allocations: 0.5142 MB / 1.509 GB, free: 7.582 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/1.298, allocations: 0.7746 MB / 1.51 GB, free: 6.66 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/1.3, allocations: 0.543 MB / 1.511 GB, free: 6.102 MB / 1.232 GB Notification: Performance of pre-optimization done (n=82): time 3.627e-06/1.3, allocations: 0 / 1.511 GB, free: 6.102 MB / 1.232 GB Notification: Performance of matching and sorting (n=82): time 0.004808/1.305, allocations: 1.606 MB / 1.512 GB, free: 4.465 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.305, allocations: 64.06 kB / 1.512 GB, free: 4.391 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003774/1.308, allocations: 2.156 MB / 1.514 GB, free: 2.211 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001957/1.309, allocations: 45.7 kB / 1.514 GB, free: 2.16 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.31, allocations: 1.058 MB / 1.515 GB, free: 1.086 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/1.31, allocations: 291.8 kB / 1.516 GB, free: 0.7969 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005503/1.311, allocations: 326.6 kB / 1.516 GB, free: 484 kB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.311, allocations: 305.1 kB / 1.516 GB, free: 176 kB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/1.312, allocations: 0.6195 MB / 1.517 GB, free: 15.55 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/1.314, allocations: 1.014 MB / 1.518 GB, free: 14.38 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/1.317, allocations: 1.555 MB / 1.519 GB, free: 12.69 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/1.317, allocations: 4.656 kB / 1.519 GB, free: 12.68 MB / 1.248 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004147/1.321, allocations: 1.898 MB / 1.521 GB, free: 10.77 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/1.321, allocations: 37.7 kB / 1.521 GB, free: 10.73 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/1.321, allocations: 8 kB / 1.521 GB, free: 10.72 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-05/1.321, allocations: 16 kB / 1.521 GB, free: 10.71 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.322, allocations: 328.2 kB / 1.522 GB, free: 10.39 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.824e-05/1.322, allocations: 23.88 kB / 1.522 GB, free: 10.36 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/1.324, allocations: 182.6 kB / 1.522 GB, free: 10.18 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/1.324, allocations: 59.98 kB / 1.522 GB, free: 10.12 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002119/1.326, allocations: 1.112 MB / 1.523 GB, free: 9.012 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001572/1.328, allocations: 1.003 MB / 1.524 GB, free: 7.855 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002684/1.331, allocations: 1.551 MB / 1.525 GB, free: 6.168 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.004e-05/1.331, allocations: 4 kB / 1.526 GB, free: 6.164 MB / 1.248 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003936/1.335, allocations: 1.905 MB / 1.527 GB, free: 4.246 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/1.335, allocations: 35.73 kB / 1.527 GB, free: 4.207 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.335, allocations: 16.11 kB / 1.527 GB, free: 4.191 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.335, allocations: 16 kB / 1.527 GB, free: 4.176 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.336, allocations: 327.5 kB / 1.528 GB, free: 3.855 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/1.336, allocations: 23.94 kB / 1.528 GB, free: 3.832 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.338, allocations: 163 kB / 1.528 GB, free: 3.672 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/1.338, allocations: 59.98 kB / 1.528 GB, free: 3.613 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 0.000402/1.338, allocations: 266.9 kB / 1.528 GB, free: 3.348 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000599/1.339, allocations: 209.3 kB / 1.528 GB, free: 3.141 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/1.342, allocations: 1.188 MB / 1.53 GB, free: 1.934 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002324/1.344, allocations: 1.223 MB / 1.531 GB, free: 0.6211 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.344, allocations: 3.984 kB / 1.531 GB, free: 0.6172 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009126/1.345, allocations: 402.3 kB / 1.531 GB, free: 208 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/1.346, allocations: 19.98 kB / 1.531 GB, free: 188 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.347, allocations: 71.88 kB / 1.531 GB, free: 116 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/1.347, allocations: 68.84 kB / 1.531 GB, free: 48 kB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003289/1.35, allocations: 1.197 MB / 1.532 GB, free: 14.84 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003623/1.354, allocations: 1.808 MB / 1.534 GB, free: 13.02 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001014/1.355, allocations: 483.8 kB / 1.535 GB, free: 12.54 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00244/1.357, allocations: 1.441 MB / 1.536 GB, free: 11.09 MB / 1.264 GB Notification: Performance of Backend: time 5.01e-07/1.357, allocations: 0 / 1.536 GB, free: 11.09 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.008204/1.366, allocations: 3.111 MB / 1.539 GB, free: 8.125 MB / 1.264 GB Notification: Performance of SimCode: time 0.01039/1.376, allocations: 5.106 MB / 1.544 GB, free: 2.992 MB / 1.264 GB Notification: Performance of Templates: time 0.7702/2.146, allocations: 51.53 MB / 1.594 GB, free: 334.9 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches