Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_latest_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_latest_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.001489/0.001489, allocations: 113.6 kB / 16.42 MB, free: 6.5 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.001676/0.001676, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 472.7 MB / 0.746 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 59.91 kB / 1.07 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8611, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.2751/1.136, allocations: 260.9 MB / 1.481 GB, free: 7.617 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02775/1.164, allocations: 18.82 MB / 1.5 GB, free: 4.754 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004164/1.168, allocations: 95.5 kB / 1.5 GB, free: 4.66 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006541/1.175, allocations: 2.279 MB / 1.502 GB, free: 2.371 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01317/1.188, allocations: 4.328 MB / 1.506 GB, free: 14.03 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.007795/1.196, allocations: 2.665 MB / 1.509 GB, free: 11.37 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01388/1.21, allocations: 8.809 MB / 1.517 GB, free: 2.547 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004363/1.214, allocations: 2.194 MB / 1.519 GB, free: 312 kB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00745/1.222, allocations: 2.826 MB / 1.522 GB, free: 13.47 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004449/1.226, allocations: 1.856 MB / 1.524 GB, free: 11.61 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0009958/1.227, allocations: 248 kB / 1.524 GB, free: 11.37 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009408/1.237, allocations: 4.237 MB / 1.528 GB, free: 7.125 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0017/1.238, allocations: 1.009 MB / 1.529 GB, free: 6.113 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.003302/1.242, allocations: 1.551 MB / 1.531 GB, free: 4.555 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01218/1.254, allocations: 5.618 MB / 1.536 GB, free: 14.92 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.254, allocations: 0 / 1.536 GB, free: 14.92 MB / 1.264 GB Notification: Performance of FrontEnd: time 3.447e-06/1.254, allocations: 4 kB / 1.536 GB, free: 14.91 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001717/1.254, allocations: 3.938 kB / 1.536 GB, free: 14.91 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.009246/1.263, allocations: 3.638 MB / 1.54 GB, free: 11.18 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.263, allocations: 8.031 kB / 1.54 GB, free: 11.17 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006068/1.269, allocations: 0.9191 MB / 1.541 GB, free: 10.25 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/1.275, allocations: 2.97 MB / 1.544 GB, free: 7.207 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/1.276, allocations: 123 kB / 1.544 GB, free: 7.086 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004823/1.276, allocations: 164 kB / 1.544 GB, free: 6.926 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/1.28, allocations: 1.847 MB / 1.546 GB, free: 5.012 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/1.28, allocations: 4 kB / 1.546 GB, free: 5.008 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/1.281, allocations: 64 kB / 1.546 GB, free: 4.945 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/1.281, allocations: 54.89 kB / 1.546 GB, free: 4.891 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/1.285, allocations: 1.584 MB / 1.547 GB, free: 3.301 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.01739/1.302, allocations: 8.759 MB / 1.556 GB, free: 9.922 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/1.305, allocations: 1.744 MB / 1.558 GB, free: 8.027 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/1.306, allocations: 0.663 MB / 1.558 GB, free: 7.367 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005303/1.307, allocations: 223.1 kB / 1.559 GB, free: 7.113 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/1.308, allocations: 0.6612 MB / 1.559 GB, free: 6.438 MB / 1.279 GB Notification: Performance of pre-optimization done (n=99): time 4.098e-06/1.308, allocations: 0 / 1.559 GB, free: 6.438 MB / 1.279 GB Notification: Performance of matching and sorting (n=102): time 0.009193/1.317, allocations: 3.766 MB / 1.563 GB, free: 2.594 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/1.317, allocations: 64.34 kB / 1.563 GB, free: 2.52 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/1.321, allocations: 2.139 MB / 1.565 GB, free: 368 kB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001729/1.321, allocations: 49.7 kB / 1.565 GB, free: 312 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.7566/2.078, allocations: 1.11 MB / 1.566 GB, free: 333.8 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.00062/2.079, allocations: 387.1 kB / 1.567 GB, free: 333.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007779/2.079, allocations: 355 kB / 1.567 GB, free: 333.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/2.079, allocations: 302.2 kB / 1.567 GB, free: 333.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/2.081, allocations: 0.7341 MB / 1.568 GB, free: 333 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/2.084, allocations: 1.107 MB / 1.569 GB, free: 332.3 MB / 1.279 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.01697/2.101, allocations: 4.528 MB / 1.573 GB, free: 330.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/2.101, allocations: 2.156 kB / 1.573 GB, free: 330.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004689/2.105, allocations: 2.185 MB / 1.576 GB, free: 330 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/2.105, allocations: 37.92 kB / 1.576 GB, free: 329.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/2.105, allocations: 8.719 kB / 1.576 GB, free: 329.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/2.106, allocations: 47.67 kB / 1.576 GB, free: 329.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/2.107, allocations: 354 kB / 1.576 GB, free: 329.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/2.108, allocations: 1.679 MB / 1.578 GB, free: 328.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/2.11, allocations: 100.7 kB / 1.578 GB, free: 328.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/2.111, allocations: 63.41 kB / 1.578 GB, free: 328.2 MB / 1.279 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.002507/2.113, allocations: 1.263 MB / 1.579 GB, free: 327.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00168/2.115, allocations: 1.112 MB / 1.58 GB, free: 327 MB / 1.279 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.01542/2.13, allocations: 4.521 MB / 1.584 GB, free: 325.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.191e-05/2.13, allocations: 0.6562 kB / 1.584 GB, free: 325.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.004064/2.134, allocations: 2.187 MB / 1.587 GB, free: 324.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/2.134, allocations: 34.34 kB / 1.587 GB, free: 324.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/2.134, allocations: 15.78 kB / 1.587 GB, free: 324.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/2.134, allocations: 45.97 kB / 1.587 GB, free: 324.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/2.136, allocations: 353.3 kB / 1.587 GB, free: 324.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009823/2.137, allocations: 1.679 MB / 1.589 GB, free: 322.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/2.139, allocations: 113.9 kB / 1.589 GB, free: 322.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/2.139, allocations: 62.8 kB / 1.589 GB, free: 322.8 MB / 1.279 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.0004512/2.14, allocations: 270.6 kB / 1.589 GB, free: 322.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/2.14, allocations: 241 kB / 1.589 GB, free: 322.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/2.143, allocations: 1.433 MB / 1.591 GB, free: 321.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00234/2.145, allocations: 1.171 MB / 1.592 GB, free: 321.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/2.145, allocations: 0.5469 kB / 1.592 GB, free: 321.4 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007844/2.146, allocations: 446.8 kB / 1.592 GB, free: 321.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/2.146, allocations: 28.89 kB / 1.592 GB, free: 321.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/2.148, allocations: 75.38 kB / 1.592 GB, free: 321 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/2.148, allocations: 73.47 kB / 1.592 GB, free: 321 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003599/2.151, allocations: 1.513 MB / 1.594 GB, free: 320.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003683/2.155, allocations: 2.197 MB / 1.596 GB, free: 319.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001056/2.156, allocations: 0.5955 MB / 1.597 GB, free: 319.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001763/2.158, allocations: 1.428 MB / 1.598 GB, free: 318.5 MB / 1.279 GB Notification: Performance of Backend: time 6.41e-07/2.158, allocations: 0 / 1.598 GB, free: 318.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007251/2.165, allocations: 3.485 MB / 1.601 GB, free: 315.5 MB / 1.279 GB Notification: Performance of SimCode: time 0.008112/2.173, allocations: 5.643 MB / 1.607 GB, free: 310.2 MB / 1.279 GB Notification: Performance of Templates: time 0.0777/2.251, allocations: 58.09 MB / 1.664 GB, free: 252.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches