Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 114.3 kB / 16.81 MB, free: 5.766 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.002163/0.002163, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.576/1.576, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.77 kB / 1.097 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3705, allocations: 168.7 MB / 1.262 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.3214/0.6919, allocations: 261.9 MB / 1.518 GB, free: 5.988 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03411/0.726, allocations: 18.87 MB / 1.536 GB, free: 3.066 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00419/0.7302, allocations: 99.44 kB / 1.536 GB, free: 2.969 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.007293/0.7375, allocations: 2.29 MB / 1.539 GB, free: 0.6719 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.7502, allocations: 4.334 MB / 1.543 GB, free: 12.32 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.008097/0.7583, allocations: 2.695 MB / 1.545 GB, free: 9.637 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01605/0.7743, allocations: 8.865 MB / 1.554 GB, free: 0.75 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7856/1.56, allocations: 1.8 MB / 1.556 GB, free: 26.69 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007843/1.568, allocations: 2.831 MB / 1.559 GB, free: 26.69 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005525/1.573, allocations: 1.963 MB / 1.561 GB, free: 26.68 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.001104/1.574, allocations: 250 kB / 1.561 GB, free: 26.68 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/1.585, allocations: 4.443 MB / 1.565 GB, free: 26.68 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002285/1.587, allocations: 1.04 MB / 1.566 GB, free: 26.68 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.003487/1.591, allocations: 1.554 MB / 1.568 GB, free: 26.68 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01434/1.605, allocations: 5.627 MB / 1.573 GB, free: 26.18 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.605, allocations: 2.156 kB / 1.573 GB, free: 26.18 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.174e-06/1.605, allocations: 0 / 1.573 GB, free: 26.18 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001377/1.605, allocations: 0 / 1.573 GB, free: 26.18 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 381 * Number of variables: 381 Notification: Performance of Generate backend data structure: time 0.008876/1.614, allocations: 3.625 MB / 1.577 GB, free: 24.33 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.614, allocations: 12.28 kB / 1.577 GB, free: 24.33 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/1.62, allocations: 0.9172 MB / 1.578 GB, free: 24.16 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006432/1.627, allocations: 2.971 MB / 1.581 GB, free: 23.54 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/1.627, allocations: 122.7 kB / 1.581 GB, free: 23.54 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003895/1.627, allocations: 160.8 kB / 1.581 GB, free: 23.54 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003901/1.631, allocations: 1.846 MB / 1.583 GB, free: 23.33 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/1.631, allocations: 6.5 kB / 1.583 GB, free: 23.33 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/1.631, allocations: 61.56 kB / 1.583 GB, free: 23.33 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.768e-05/1.632, allocations: 61.3 kB / 1.583 GB, free: 23.33 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00364/1.635, allocations: 1.581 MB / 1.584 GB, free: 23.31 MB / 1.264 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.01409/1.649, allocations: 8.756 MB / 1.593 GB, free: 19.12 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/1.652, allocations: 1.695 MB / 1.594 GB, free: 18.34 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/1.653, allocations: 0.6263 MB / 1.595 GB, free: 18.33 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004525/1.653, allocations: 231.5 kB / 1.595 GB, free: 18.14 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/1.655, allocations: 0.6594 MB / 1.596 GB, free: 18.09 MB / 1.264 GB Notification: Performance of pre-optimization done (n=99): time 3.296e-06/1.655, allocations: 0 / 1.596 GB, free: 18.09 MB / 1.264 GB Notification: Performance of matching and sorting (n=102): time 0.009245/1.664, allocations: 3.768 MB / 1.6 GB, free: 17.19 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/1.664, allocations: 66.41 kB / 1.6 GB, free: 17.12 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/1.667, allocations: 2.136 MB / 1.602 GB, free: 16.88 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0002159/1.667, allocations: 51.95 kB / 1.602 GB, free: 16.85 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008213/1.668, allocations: 1.111 MB / 1.603 GB, free: 16.48 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/1.668, allocations: 388.6 kB / 1.603 GB, free: 16.24 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/1.669, allocations: 348.7 kB / 1.604 GB, free: 16.2 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.4e-05/1.669, allocations: 301.8 kB / 1.604 GB, free: 15.91 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/1.67, allocations: 0.7286 MB / 1.605 GB, free: 15.89 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/1.672, allocations: 1.116 MB / 1.606 GB, free: 15.51 MB / 1.264 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/1.687, allocations: 4.529 MB / 1.61 GB, free: 14.99 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/1.687, allocations: 2.031 kB / 1.61 GB, free: 14.99 MB / 1.264 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004303/1.691, allocations: 2.183 MB / 1.612 GB, free: 14.76 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/1.691, allocations: 35.78 kB / 1.612 GB, free: 14.73 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/1.691, allocations: 9.703 kB / 1.612 GB, free: 14.73 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/1.691, allocations: 50.48 kB / 1.612 GB, free: 14.72 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/1.693, allocations: 353 kB / 1.613 GB, free: 14.72 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009921/1.694, allocations: 1.674 MB / 1.614 GB, free: 13.23 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/1.696, allocations: 107.2 kB / 1.614 GB, free: 13.23 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/1.696, allocations: 65.23 kB / 1.615 GB, free: 13.23 MB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002299/1.698, allocations: 1.263 MB / 1.616 GB, free: 13.14 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001487/1.7, allocations: 1.105 MB / 1.617 GB, free: 12.77 MB / 1.264 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01442/1.714, allocations: 4.523 MB / 1.621 GB, free: 12.14 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.929e-06/1.714, allocations: 2.125 kB / 1.621 GB, free: 12.14 MB / 1.264 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.004348/1.719, allocations: 2.185 MB / 1.623 GB, free: 11.88 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/1.719, allocations: 36.42 kB / 1.623 GB, free: 11.85 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.719, allocations: 12.34 kB / 1.623 GB, free: 11.85 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/1.719, allocations: 46.52 kB / 1.623 GB, free: 11.84 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.72, allocations: 354.2 kB / 1.624 GB, free: 11.84 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/1.721, allocations: 1.673 MB / 1.625 GB, free: 10.34 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/1.724, allocations: 112.6 kB / 1.626 GB, free: 10.34 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/1.724, allocations: 57.89 kB / 1.626 GB, free: 10.34 MB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (183): * Single equations (assignments): 178 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004707/1.725, allocations: 284.3 kB / 1.626 GB, free: 10.14 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/1.725, allocations: 237.9 kB / 1.626 GB, free: 10.01 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/1.728, allocations: 1.438 MB / 1.627 GB, free: 9.887 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002362/1.731, allocations: 1.16 MB / 1.629 GB, free: 9.773 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.731, allocations: 0.75 kB / 1.629 GB, free: 9.773 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.732, allocations: 447.7 kB / 1.629 GB, free: 9.547 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/1.732, allocations: 27.05 kB / 1.629 GB, free: 9.543 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.733, allocations: 80 kB / 1.629 GB, free: 9.539 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.734, allocations: 69.72 kB / 1.629 GB, free: 9.539 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003669/1.737, allocations: 1.512 MB / 1.631 GB, free: 9.363 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004094/1.741, allocations: 2.197 MB / 1.633 GB, free: 8.965 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001203/1.743, allocations: 0.5598 MB / 1.633 GB, free: 8.953 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002324/1.745, allocations: 1.422 MB / 1.635 GB, free: 8.809 MB / 1.264 GB Notification: Performance of Backend: time 5.01e-07/1.745, allocations: 4 kB / 1.635 GB, free: 8.805 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.009465/1.754, allocations: 3.293 MB / 1.638 GB, free: 8.164 MB / 1.264 GB Notification: Performance of SimCode: time 0.009684/1.764, allocations: 5.675 MB / 1.644 GB, free: 5.668 MB / 1.264 GB Notification: Performance of Templates: time 0.1021/1.866, allocations: 58.95 MB / 1.701 GB, free: 2.031 MB / 1.295 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches