Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.DXCoils.AirCooled.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinSpeDX.vol.T|sinSpeDX.sta_a.T|sinSpeDX.dxCoo.mWat_flow|sinSpeDX.vol.X_w|sinSpeDX.sta_a.X.1.|onOff.y|sinSpeDX.P|sinSpeDX.dxCoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinSpeDX.vol.T|sinSpeDX.sta_a.T|sinSpeDX.dxCoo.mWat_flow|sinSpeDX.vol.X_w|sinSpeDX.sta_a.X.1.|onOff.y|sinSpeDX.P|sinSpeDX.dxCoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001584/0.001584, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9458/0.9472, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed): time 0.2539/1.201, allocations: 205.1 MB / 1.289 GB, free: 500 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02691/1.228, allocations: 20.09 MB / 1.309 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/1.231, allocations: 47.75 kB / 1.309 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003411/1.235, allocations: 1.029 MB / 1.31 GB, free: 11.26 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007892/1.242, allocations: 2.558 MB / 1.312 GB, free: 8.688 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.008697/1.251, allocations: 3.288 MB / 1.315 GB, free: 5.426 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007565/1.259, allocations: 4.721 MB / 1.32 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003246/1.262, allocations: 1.939 MB / 1.322 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004605/1.267, allocations: 1.895 MB / 1.324 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/1.27, allocations: 1.559 MB / 1.325 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008032/1.27, allocations: 364 kB / 1.326 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00777/1.278, allocations: 3.532 MB / 1.329 GB, free: 7.371 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001516/1.28, allocations: 1.009 MB / 1.33 GB, free: 6.359 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002868/1.283, allocations: 1.579 MB / 1.332 GB, free: 4.773 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01059/1.293, allocations: 6.876 MB / 1.338 GB, free: 13.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.293, allocations: 0 / 1.338 GB, free: 13.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.154e-06/1.293, allocations: 0 / 1.338 GB, free: 13.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001137/1.293, allocations: 0 / 1.338 GB, free: 13.88 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.009675/1.303, allocations: 3.502 MB / 1.342 GB, free: 10.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.303, allocations: 8.031 kB / 1.342 GB, free: 10.28 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02262/1.326, allocations: 2.283 MB / 1.344 GB, free: 7.988 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006195/1.332, allocations: 2.52 MB / 1.346 GB, free: 5.395 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003938/1.332, allocations: 334.2 kB / 1.347 GB, free: 5.023 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005912/1.333, allocations: 131.9 kB / 1.347 GB, free: 4.895 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/1.344, allocations: 3.083 MB / 1.35 GB, free: 1.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/1.344, allocations: 0 / 1.35 GB, free: 1.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/1.344, allocations: 52 kB / 1.35 GB, free: 1.719 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.314e-05/1.344, allocations: 50.31 kB / 1.35 GB, free: 1.668 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/1.36, allocations: 3.979 MB / 1.354 GB, free: 13.68 MB / 1.092 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.02566/1.386, allocations: 10.97 MB / 1.365 GB, free: 2.496 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01867/1.405, allocations: 4.091 MB / 1.369 GB, free: 14.39 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007764/1.413, allocations: 1.975 MB / 1.37 GB, free: 12.41 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008355/1.413, allocations: 0.7606 MB / 1.371 GB, free: 11.49 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009804/1.423, allocations: 2.304 MB / 1.373 GB, free: 9.172 MB / 1.107 GB Notification: Performance of pre-optimization done (n=108): time 5.09e-06/1.423, allocations: 4 kB / 1.373 GB, free: 9.168 MB / 1.107 GB Notification: Performance of matching and sorting (n=110): time 0.06588/1.489, allocations: 11.9 MB / 1.385 GB, free: 13.14 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/1.489, allocations: 64.41 kB / 1.385 GB, free: 13.07 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004863/1.494, allocations: 3.161 MB / 1.388 GB, free: 9.875 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005451/1.495, allocations: 65.64 kB / 1.388 GB, free: 9.805 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/1.496, allocations: 0.9124 MB / 1.389 GB, free: 8.883 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004969/1.496, allocations: 370.6 kB / 1.39 GB, free: 8.516 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007234/1.497, allocations: 322.7 kB / 1.39 GB, free: 8.195 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.497, allocations: 357.9 kB / 1.39 GB, free: 7.84 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007923/1.505, allocations: 2.243 MB / 1.392 GB, free: 5.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00803/1.513, allocations: 2.374 MB / 1.395 GB, free: 3.176 MB / 1.123 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.1278/1.641, allocations: 40.83 MB / 1.435 GB, free: 10.22 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.641, allocations: 4 kB / 1.435 GB, free: 10.22 MB / 1.17 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0365/1.678, allocations: 6.74 MB / 1.441 GB, free: 3.43 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/1.678, allocations: 117.1 kB / 1.441 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.678, allocations: 0 / 1.441 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003321/1.681, allocations: 0.7848 MB / 1.442 GB, free: 2.496 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00419/1.685, allocations: 0.5147 MB / 1.443 GB, free: 1.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009452/1.695, allocations: 7.179 MB / 1.45 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005275/1.7, allocations: 377.2 kB / 1.45 GB, free: 9.953 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003898/1.7, allocations: 79.91 kB / 1.45 GB, free: 9.875 MB / 1.186 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009167/1.71, allocations: 3.012 MB / 1.453 GB, free: 6.859 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008032/1.718, allocations: 2.366 MB / 1.455 GB, free: 4.453 MB / 1.186 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1267/1.844, allocations: 40.77 MB / 1.495 GB, free: 11.55 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.629e-06/1.844, allocations: 0 / 1.495 GB, free: 11.55 MB / 1.232 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.03634/1.881, allocations: 6.681 MB / 1.502 GB, free: 4.824 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/1.881, allocations: 113.1 kB / 1.502 GB, free: 4.695 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.881, allocations: 4 kB / 1.502 GB, free: 4.691 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/1.884, allocations: 0.7418 MB / 1.502 GB, free: 3.934 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004176/1.888, allocations: 0.507 MB / 1.503 GB, free: 3.426 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007728/1.896, allocations: 6.754 MB / 1.509 GB, free: 12.18 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005129/1.901, allocations: 375.4 kB / 1.51 GB, free: 11.82 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005071/1.902, allocations: 79.91 kB / 1.51 GB, free: 11.74 MB / 1.248 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 19 (sinSpeDX.i_x,$PRE.sinSpeDX.eva.off,$PRE.sinSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.sinSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.sinSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.sinSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],sinSpeDX.eva.off,sinSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],sinSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],sinSpeDX.dxCoo.dryCoi.cooCap.stage,sinSpeDX.dxCoo.wetCoi.shr.on,sinSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],sinSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],sinSpeDX.dxCoo.wetCoi.cooCap.stage,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 126 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008429/1.902, allocations: 273.7 kB / 1.51 GB, free: 11.47 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008224/1.903, allocations: 221.2 kB / 1.51 GB, free: 11.25 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03461/1.938, allocations: 5.626 MB / 1.516 GB, free: 5.594 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03412/1.972, allocations: 5.271 MB / 1.521 GB, free: 288 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/1.972, allocations: 4 kB / 1.521 GB, free: 284 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/1.975, allocations: 0.7951 MB / 1.522 GB, free: 15.46 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009349/1.976, allocations: 35.98 kB / 1.522 GB, free: 15.42 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0047/1.98, allocations: 367.4 kB / 1.522 GB, free: 15.06 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003628/1.981, allocations: 104.8 kB / 1.522 GB, free: 14.96 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02096/2.002, allocations: 4.481 MB / 1.527 GB, free: 10.46 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02236/2.024, allocations: 6.482 MB / 1.533 GB, free: 3.961 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007028/2.031, allocations: 1.951 MB / 1.535 GB, free: 2.008 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.004409/2.036, allocations: 2.23 MB / 1.537 GB, free: 15.76 MB / 1.279 GB Notification: Performance of Backend: time 9.41e-07/2.036, allocations: 0 / 1.537 GB, free: 15.76 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02416/2.06, allocations: 7.187 MB / 1.544 GB, free: 8.441 MB / 1.279 GB Notification: Performance of SimCode: time 0.009699/2.069, allocations: 5.244 MB / 1.549 GB, free: 3.164 MB / 1.279 GB Notification: Performance of Templates: time 0.7072/2.777, allocations: 86.71 MB / 1.634 GB, free: 431.2 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_SingleSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches