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.001213/0.001213, allocations: 105.9 kB / 16.41 MB, free: 6.457 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.001211/0.001211, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.73/2.73, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.84 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9138/0.9153, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2558/1.171, allocations: 236.4 MB / 1.439 GB, free: 312 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02891/1.2, allocations: 17.54 MB / 1.456 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004171/1.204, allocations: 91.5 kB / 1.457 GB, free: 14.62 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006898/1.211, allocations: 2.115 MB / 1.459 GB, free: 12.5 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01072/1.222, allocations: 3.572 MB / 1.462 GB, free: 8.914 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.007719/1.23, allocations: 2.589 MB / 1.465 GB, free: 6.336 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.013/1.243, allocations: 7.873 MB / 1.472 GB, free: 14.45 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004086/1.247, allocations: 1.938 MB / 1.474 GB, free: 12.46 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007148/1.254, allocations: 2.74 MB / 1.477 GB, free: 9.707 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004034/1.258, allocations: 1.637 MB / 1.478 GB, free: 8.074 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/1.259, allocations: 212 kB / 1.479 GB, free: 7.867 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008235/1.267, allocations: 3.602 MB / 1.482 GB, free: 4.258 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001694/1.269, allocations: 0.8958 MB / 1.483 GB, free: 3.359 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0034/1.273, allocations: 1.388 MB / 1.484 GB, free: 1.965 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01276/1.285, allocations: 4.908 MB / 1.489 GB, free: 13.04 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/1.286, allocations: 0 / 1.489 GB, free: 13.04 MB / 1.217 GB Notification: Performance of FrontEnd: time 4.007e-06/1.286, allocations: 0 / 1.489 GB, free: 13.04 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001966/1.286, allocations: 0 / 1.489 GB, free: 13.04 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.009748/1.295, allocations: 3.249 MB / 1.492 GB, free: 9.715 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.296, allocations: 12.03 kB / 1.492 GB, free: 9.703 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/1.301, allocations: 0.8746 MB / 1.493 GB, free: 8.824 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006499/1.308, allocations: 2.794 MB / 1.496 GB, free: 5.957 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/1.308, allocations: 110.6 kB / 1.496 GB, free: 5.848 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005466/1.309, allocations: 143.9 kB / 1.496 GB, free: 5.707 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/1.313, allocations: 1.668 MB / 1.498 GB, free: 3.961 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/1.313, allocations: 3.938 kB / 1.498 GB, free: 3.957 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/1.314, allocations: 56 kB / 1.498 GB, free: 3.902 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/1.314, allocations: 50.52 kB / 1.498 GB, free: 3.852 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/1.317, allocations: 1.442 MB / 1.499 GB, free: 2.402 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.01394/1.331, allocations: 8.12 MB / 1.507 GB, free: 9.699 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/1.334, allocations: 1.551 MB / 1.509 GB, free: 8.02 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/1.335, allocations: 0.5143 MB / 1.509 GB, free: 7.504 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/1.337, allocations: 0.7862 MB / 1.51 GB, free: 6.57 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001319/1.338, allocations: 0.5392 MB / 1.511 GB, free: 6.016 MB / 1.232 GB Notification: Performance of pre-optimization done (n=82): time 3.818e-06/1.338, allocations: 0 / 1.511 GB, free: 6.016 MB / 1.232 GB Notification: Performance of matching and sorting (n=82): time 0.004721/1.343, allocations: 1.602 MB / 1.512 GB, free: 4.383 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/1.343, allocations: 60.06 kB / 1.512 GB, free: 4.312 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004415/1.347, allocations: 2.16 MB / 1.514 GB, free: 2.129 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002153/1.348, allocations: 45.7 kB / 1.514 GB, free: 2.078 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/1.349, allocations: 1.062 MB / 1.515 GB, free: 1 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/1.349, allocations: 299.8 kB / 1.516 GB, free: 0.7031 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006326/1.35, allocations: 314.6 kB / 1.516 GB, free: 400 kB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.35, allocations: 305.1 kB / 1.516 GB, free: 92 kB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/1.352, allocations: 0.6196 MB / 1.517 GB, free: 15.46 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/1.353, allocations: 1.014 MB / 1.518 GB, free: 14.29 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/1.356, allocations: 1.555 MB / 1.519 GB, free: 12.6 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/1.356, allocations: 4 kB / 1.519 GB, free: 12.6 MB / 1.248 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004078/1.36, allocations: 1.893 MB / 1.521 GB, free: 10.69 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/1.36, allocations: 42.62 kB / 1.521 GB, free: 10.64 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/1.36, allocations: 11.94 kB / 1.521 GB, free: 10.63 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/1.36, allocations: 16 kB / 1.521 GB, free: 10.62 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.362, allocations: 315.6 kB / 1.522 GB, free: 10.31 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.823e-05/1.362, allocations: 23.92 kB / 1.522 GB, free: 10.29 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/1.364, allocations: 182.6 kB / 1.522 GB, free: 10.11 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/1.364, allocations: 67.92 kB / 1.522 GB, free: 10.04 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0023/1.366, allocations: 1.108 MB / 1.523 GB, free: 8.93 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001627/1.368, allocations: 1.007 MB / 1.524 GB, free: 7.77 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002761/1.371, allocations: 1.551 MB / 1.525 GB, free: 6.082 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.684e-05/1.371, allocations: 4 kB / 1.525 GB, free: 6.078 MB / 1.248 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.004013/1.375, allocations: 1.901 MB / 1.527 GB, free: 4.164 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/1.375, allocations: 41.69 kB / 1.527 GB, free: 4.117 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.375, allocations: 8 kB / 1.527 GB, free: 4.109 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/1.375, allocations: 16 kB / 1.527 GB, free: 4.094 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.376, allocations: 327.6 kB / 1.528 GB, free: 3.773 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.675e-05/1.376, allocations: 23.92 kB / 1.528 GB, free: 3.75 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.378, allocations: 159 kB / 1.528 GB, free: 3.594 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/1.378, allocations: 63.92 kB / 1.528 GB, free: 3.531 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.0004156/1.379, allocations: 263.8 kB / 1.528 GB, free: 3.266 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006673/1.379, allocations: 209.3 kB / 1.528 GB, free: 3.059 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/1.382, allocations: 1.2 MB / 1.53 GB, free: 1.84 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.382, allocations: 8 kB / 1.53 GB, free: 1.832 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.382, allocations: 0 / 1.53 GB, free: 1.832 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002327/1.385, allocations: 1.227 MB / 1.531 GB, free: 0.5156 MB / 1.248 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 postOpt removeSimpleEquations (simulation): time 0.007282/1.392, allocations: 3.108 MB / 1.534 GB, free: 13.31 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.392, allocations: 0 / 1.534 GB, free: 13.31 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009687/1.393, allocations: 187.9 kB / 1.534 GB, free: 13.12 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/1.393, allocations: 44.83 kB / 1.534 GB, free: 13.08 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.084e-05/1.393, allocations: 23.98 kB / 1.534 GB, free: 13.05 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/1.395, allocations: 1.527 MB / 1.536 GB, free: 11.39 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.395, allocations: 4 kB / 1.536 GB, free: 11.38 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003987/1.399, allocations: 1.763 MB / 1.537 GB, free: 9.586 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.4, allocations: 406 kB / 1.538 GB, free: 9.168 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005995/1.401, allocations: 20 kB / 1.538 GB, free: 9.148 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.402, allocations: 67.94 kB / 1.538 GB, free: 9.082 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.402, allocations: 64.5 kB / 1.538 GB, free: 9.02 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/1.402, allocations: 32.17 kB / 1.538 GB, free: 8.988 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002975/1.405, allocations: 1.437 MB / 1.539 GB, free: 7.539 MB / 1.264 GB Notification: Performance of sort global known variables: time 4.51e-07/1.405, allocations: 7.938 kB / 1.539 GB, free: 7.531 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003823/1.409, allocations: 1.091 MB / 1.54 GB, free: 6.438 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002086/1.411, allocations: 0.7232 MB / 1.541 GB, free: 5.848 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004982/1.416, allocations: 2.305 MB / 1.543 GB, free: 3.523 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.416, allocations: 4.062 kB / 1.543 GB, free: 3.52 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/1.418, allocations: 0.6 MB / 1.544 GB, free: 2.902 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/1.423, allocations: 1.025 MB / 1.545 GB, free: 1.902 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.433, allocations: 4.315 MB / 1.549 GB, free: 13.54 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/1.435, allocations: 1.66 MB / 1.551 GB, free: 11.85 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008017/1.436, allocations: 175.4 kB / 1.551 GB, free: 11.68 MB / 1.279 GB Notification: Performance of SimCode: time 1.353e-06/1.436, allocations: 3.938 kB / 1.551 GB, free: 11.67 MB / 1.279 GB Notification: Performance of Templates: time 0.7768/2.213, allocations: 41.07 MB / 1.591 GB, free: 334.4 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