Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001312/0.001313, allocations: 110.5 kB / 16.41 MB, free: 6.52 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.001453/0.001454, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.366/1.366, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 72.11 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7719/0.7733, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.311/1.084, allocations: 260.9 MB / 1.422 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02819/1.113, allocations: 18.81 MB / 1.44 GB, free: 11.11 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003429/1.116, allocations: 95.5 kB / 1.441 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006913/1.123, allocations: 2.289 MB / 1.443 GB, free: 8.719 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01185/1.135, allocations: 4.323 MB / 1.447 GB, free: 4.379 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00715/1.142, allocations: 2.667 MB / 1.45 GB, free: 1.723 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01331/1.155, allocations: 8.819 MB / 1.458 GB, free: 8.883 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003845/1.159, allocations: 2.182 MB / 1.46 GB, free: 6.652 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006151/1.165, allocations: 2.83 MB / 1.463 GB, free: 3.812 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004047/1.17, allocations: 1.847 MB / 1.465 GB, free: 1.969 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0009715/1.171, allocations: 248 kB / 1.465 GB, free: 1.727 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008729/1.179, allocations: 4.249 MB / 1.469 GB, free: 13.47 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001647/1.181, allocations: 1.005 MB / 1.47 GB, free: 12.46 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003153/1.184, allocations: 1.551 MB / 1.472 GB, free: 10.9 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/1.195, allocations: 5.605 MB / 1.477 GB, free: 5.281 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/1.195, allocations: 4 kB / 1.477 GB, free: 5.277 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.603e-06/1.195, allocations: 0 / 1.477 GB, free: 5.277 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001321/1.195, allocations: 0 / 1.477 GB, free: 5.277 MB / 1.201 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.008571/1.204, allocations: 3.522 MB / 1.481 GB, free: 1.668 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.204, allocations: 11.98 kB / 1.481 GB, free: 1.656 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006372/1.21, allocations: 0.8979 MB / 1.482 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00617/1.217, allocations: 2.952 MB / 1.485 GB, free: 13.73 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/1.217, allocations: 127 kB / 1.485 GB, free: 13.61 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004351/1.217, allocations: 160 kB / 1.485 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/1.221, allocations: 1.851 MB / 1.487 GB, free: 11.53 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/1.221, allocations: 7.844 kB / 1.487 GB, free: 11.52 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/1.221, allocations: 60 kB / 1.487 GB, free: 11.46 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/1.222, allocations: 58.89 kB / 1.487 GB, free: 11.41 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/1.225, allocations: 1.58 MB / 1.488 GB, free: 9.82 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.01404/1.239, allocations: 8.734 MB / 1.497 GB, free: 476 kB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/1.242, allocations: 1.752 MB / 1.499 GB, free: 14.57 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/1.244, allocations: 0.663 MB / 1.499 GB, free: 13.91 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005441/1.245, allocations: 227.1 kB / 1.499 GB, free: 13.65 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/1.246, allocations: 0.6571 MB / 1.5 GB, free: 12.98 MB / 1.232 GB Notification: Performance of pre-optimization done (n=99): time 3.908e-06/1.246, allocations: 0 / 1.5 GB, free: 12.98 MB / 1.232 GB Notification: Performance of matching and sorting (n=102): time 0.0101/1.256, allocations: 3.722 MB / 1.504 GB, free: 9.172 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/1.256, allocations: 64.41 kB / 1.504 GB, free: 9.098 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0039/1.26, allocations: 2.135 MB / 1.506 GB, free: 6.941 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002054/1.261, allocations: 53.7 kB / 1.506 GB, free: 6.883 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/1.262, allocations: 1.098 MB / 1.507 GB, free: 5.77 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004567/1.262, allocations: 366.8 kB / 1.507 GB, free: 5.406 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000613/1.263, allocations: 343.3 kB / 1.508 GB, free: 5.062 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.263, allocations: 301.1 kB / 1.508 GB, free: 4.766 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/1.264, allocations: 0.7348 MB / 1.509 GB, free: 4.027 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/1.266, allocations: 1.115 MB / 1.51 GB, free: 2.77 MB / 1.232 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.01625/1.283, allocations: 4.536 MB / 1.514 GB, free: 14.08 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.515e-06/1.283, allocations: 0 / 1.514 GB, free: 14.08 MB / 1.248 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004677/1.287, allocations: 2.175 MB / 1.516 GB, free: 11.89 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/1.287, allocations: 40.52 kB / 1.516 GB, free: 11.85 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/1.287, allocations: 8 kB / 1.516 GB, free: 11.84 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000202/1.288, allocations: 44.84 kB / 1.516 GB, free: 11.8 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/1.289, allocations: 355.5 kB / 1.517 GB, free: 11.45 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/1.291, allocations: 1.682 MB / 1.518 GB, free: 9.625 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/1.293, allocations: 99.98 kB / 1.518 GB, free: 9.527 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/1.293, allocations: 67.92 kB / 1.518 GB, free: 9.461 MB / 1.248 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.002538/1.296, allocations: 1.253 MB / 1.52 GB, free: 8.203 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001863/1.297, allocations: 1.114 MB / 1.521 GB, free: 6.949 MB / 1.248 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.0158/1.313, allocations: 4.515 MB / 1.525 GB, free: 2.285 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.097e-05/1.313, allocations: 4 kB / 1.525 GB, free: 2.281 MB / 1.248 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.004667/1.318, allocations: 2.171 MB / 1.527 GB, free: 92 kB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/1.318, allocations: 37.69 kB / 1.527 GB, free: 48 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.318, allocations: 12 kB / 1.527 GB, free: 36 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/1.318, allocations: 44.89 kB / 1.527 GB, free: 15.98 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.32, allocations: 348 kB / 1.528 GB, free: 15.65 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/1.321, allocations: 1.682 MB / 1.529 GB, free: 13.82 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/1.323, allocations: 116.1 kB / 1.529 GB, free: 13.71 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/1.323, allocations: 67.98 kB / 1.53 GB, free: 13.64 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.0004462/1.324, allocations: 275.7 kB / 1.53 GB, free: 13.37 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005474/1.324, allocations: 225.2 kB / 1.53 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/1.328, allocations: 1.44 MB / 1.531 GB, free: 11.69 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002726/1.331, allocations: 1.161 MB / 1.533 GB, free: 10.51 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/1.331, allocations: 8 kB / 1.533 GB, free: 10.5 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.332, allocations: 426.1 kB / 1.533 GB, free: 10.07 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00047/1.332, allocations: 27.98 kB / 1.533 GB, free: 10.04 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/1.334, allocations: 77.05 kB / 1.533 GB, free: 9.965 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/1.334, allocations: 64.91 kB / 1.533 GB, free: 9.902 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004208/1.338, allocations: 1.522 MB / 1.535 GB, free: 8.363 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004545/1.343, allocations: 2.187 MB / 1.537 GB, free: 6.16 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001304/1.344, allocations: 0.5856 MB / 1.537 GB, free: 5.574 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002614/1.347, allocations: 1.434 MB / 1.539 GB, free: 4.129 MB / 1.264 GB Notification: Performance of Backend: time 7.32e-07/1.347, allocations: 0 / 1.539 GB, free: 4.129 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.008634/1.356, allocations: 3.463 MB / 1.542 GB, free: 0.625 MB / 1.264 GB Notification: Performance of SimCode: time 0.01122/1.367, allocations: 5.585 MB / 1.548 GB, free: 11.01 MB / 1.279 GB Notification: Performance of Templates: time 0.659/2.026, allocations: 58.12 MB / 1.604 GB, free: 350.5 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches