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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001667/0.001667, allocations: 112.7 kB / 16.38 MB, free: 5.957 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.001942/0.001942, allocations: 190.2 kB / 17.31 MB, free: 5.582 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 442.6 MB / 0.7166 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3127, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.8661/1.179, allocations: 260.9 MB / 1.282 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02846/1.207, allocations: 18.81 MB / 1.3 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003837/1.211, allocations: 95.5 kB / 1.3 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005973/1.217, allocations: 2.235 MB / 1.302 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/1.228, allocations: 4.165 MB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006568/1.234, allocations: 2.663 MB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01213/1.246, allocations: 8.796 MB / 1.317 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003464/1.25, allocations: 2.191 MB / 1.32 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005715/1.256, allocations: 2.732 MB / 1.322 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00375/1.259, allocations: 1.86 MB / 1.324 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008237/1.26, allocations: 244 kB / 1.324 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009261/1.269, allocations: 4.233 MB / 1.328 GB, free: 8.168 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001792/1.271, allocations: 1.013 MB / 1.329 GB, free: 7.152 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003393/1.275, allocations: 1.551 MB / 1.331 GB, free: 5.594 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01099/1.286, allocations: 5.601 MB / 1.336 GB, free: 15.97 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.286, allocations: 4 kB / 1.336 GB, free: 15.97 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.333e-06/1.286, allocations: 3.938 kB / 1.336 GB, free: 15.96 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001452/1.286, allocations: 0 / 1.336 GB, free: 15.96 MB / 1.045 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.008319/1.294, allocations: 3.519 MB / 1.34 GB, free: 12.36 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/1.294, allocations: 8.031 kB / 1.34 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005995/1.3, allocations: 0.9056 MB / 1.341 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005976/1.306, allocations: 2.956 MB / 1.344 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/1.307, allocations: 123 kB / 1.344 GB, free: 8.297 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000459/1.307, allocations: 156 kB / 1.344 GB, free: 8.145 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004362/1.311, allocations: 1.847 MB / 1.346 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/1.311, allocations: 3.938 kB / 1.346 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/1.312, allocations: 64 kB / 1.346 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.495e-05/1.312, allocations: 54.89 kB / 1.346 GB, free: 6.109 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/1.316, allocations: 1.584 MB / 1.347 GB, free: 4.52 MB / 1.045 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.01457/1.33, allocations: 8.738 MB / 1.356 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/1.333, allocations: 1.74 MB / 1.358 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/1.335, allocations: 0.6679 MB / 1.358 GB, free: 8.609 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005327/1.335, allocations: 223.7 kB / 1.358 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/1.337, allocations: 0.6648 MB / 1.359 GB, free: 7.672 MB / 1.061 GB Notification: Performance of pre-optimization done (n=99): time 5.049e-06/1.337, allocations: 0 / 1.359 GB, free: 7.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=102): time 0.009847/1.347, allocations: 3.722 MB / 1.363 GB, free: 3.871 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/1.347, allocations: 72.39 kB / 1.363 GB, free: 3.789 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00369/1.351, allocations: 2.139 MB / 1.365 GB, free: 1.629 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/1.351, allocations: 49.7 kB / 1.365 GB, free: 1.574 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.352, allocations: 1.094 MB / 1.366 GB, free: 476 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/1.352, allocations: 366.8 kB / 1.366 GB, free: 104 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005848/1.353, allocations: 351.4 kB / 1.367 GB, free: 15.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.834e-05/1.353, allocations: 301.1 kB / 1.367 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/1.354, allocations: 0.7309 MB / 1.368 GB, free: 14.72 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/1.356, allocations: 1.115 MB / 1.369 GB, free: 13.46 MB / 1.076 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.01516/1.371, allocations: 4.534 MB / 1.373 GB, free: 8.781 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/1.371, allocations: 4 kB / 1.373 GB, free: 8.777 MB / 1.076 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004315/1.376, allocations: 2.168 MB / 1.375 GB, free: 6.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/1.376, allocations: 37.7 kB / 1.375 GB, free: 6.547 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/1.376, allocations: 8 kB / 1.375 GB, free: 6.539 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/1.376, allocations: 48.83 kB / 1.375 GB, free: 6.488 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.377, allocations: 351.5 kB / 1.376 GB, free: 6.145 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/1.379, allocations: 1.675 MB / 1.377 GB, free: 4.336 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.381, allocations: 104.9 kB / 1.378 GB, free: 4.234 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/1.381, allocations: 63.98 kB / 1.378 GB, free: 4.172 MB / 1.076 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.002444/1.383, allocations: 1.265 MB / 1.379 GB, free: 2.902 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001751/1.385, allocations: 1.107 MB / 1.38 GB, free: 1.656 MB / 1.076 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.01486/1.4, allocations: 4.526 MB / 1.384 GB, free: 12.98 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.313e-06/1.4, allocations: 0 / 1.384 GB, free: 12.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.004537/1.404, allocations: 2.175 MB / 1.386 GB, free: 10.79 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/1.404, allocations: 33.7 kB / 1.386 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.404, allocations: 8 kB / 1.386 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/1.405, allocations: 57.56 kB / 1.387 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.406, allocations: 351.5 kB / 1.387 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/1.407, allocations: 1.678 MB / 1.388 GB, free: 8.52 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/1.409, allocations: 111.9 kB / 1.389 GB, free: 8.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.409, allocations: 63.98 kB / 1.389 GB, free: 8.348 MB / 1.092 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.0004083/1.41, allocations: 268.6 kB / 1.389 GB, free: 8.078 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003659/1.41, allocations: 229.1 kB / 1.389 GB, free: 7.852 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/1.414, allocations: 1.432 MB / 1.391 GB, free: 6.398 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002485/1.416, allocations: 1.168 MB / 1.392 GB, free: 5.207 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.416, allocations: 192 / 1.392 GB, free: 5.207 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009036/1.417, allocations: 442 kB / 1.392 GB, free: 4.754 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/1.417, allocations: 19.94 kB / 1.392 GB, free: 4.734 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.418, allocations: 81.05 kB / 1.392 GB, free: 4.656 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/1.419, allocations: 72.89 kB / 1.392 GB, free: 4.586 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00369/1.422, allocations: 1.506 MB / 1.394 GB, free: 3.066 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004086/1.426, allocations: 2.191 MB / 1.396 GB, free: 0.8594 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001155/1.428, allocations: 0.5934 MB / 1.396 GB, free: 272 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002149/1.43, allocations: 1.426 MB / 1.398 GB, free: 14.83 MB / 1.107 GB Notification: Performance of Backend: time 7.01e-07/1.43, allocations: 0 / 1.398 GB, free: 14.83 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007771/1.438, allocations: 3.463 MB / 1.401 GB, free: 11.32 MB / 1.107 GB Notification: Performance of SimCode: time 0.009925/1.448, allocations: 5.573 MB / 1.407 GB, free: 5.715 MB / 1.107 GB Notification: Performance of Templates: time 0.09091/1.538, allocations: 57.78 MB / 1.463 GB, free: 12.44 MB / 1.17 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