Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 218.6 kB / 23.01 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.631/1.631, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.599/3.599, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinSpeDX.eva.vol.T|sinSpeDX.sta_a1.T|sinSpeDX.sta_a2.T|sinSpeDX.sta_b2.T|sinSpeDX.sta_a1.X.1.|sinSpeDX.eva.vol.X_w|sinSpeDX.eva.dxCoi.mWat_flow|onOff.y|sinSpeDX.P|sinSpeDX.eva.dxCoi.Q_flow|sinSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed") translateModel(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinSpeDX.eva.vol.T|sinSpeDX.sta_a1.T|sinSpeDX.sta_a2.T|sinSpeDX.sta_b2.T|sinSpeDX.sta_a1.X.1.|sinSpeDX.eva.vol.X_w|sinSpeDX.eva.dxCoi.mWat_flow|onOff.y|sinSpeDX.P|sinSpeDX.eva.dxCoi.Q_flow|sinSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 72.61 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5392, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed): time 0.397/0.9362, allocations: 271.8 MB / 1.592 GB, free: 272 kB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 1.258/2.194, allocations: 26.29 MB / 1.618 GB, free: 77.51 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00663/2.201, allocations: 112.1 kB / 1.618 GB, free: 77.51 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.00733/2.208, allocations: 1.648 MB / 1.62 GB, free: 77.5 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01642/2.224, allocations: 3.777 MB / 1.624 GB, free: 77.39 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01534/2.24, allocations: 4.143 MB / 1.628 GB, free: 77.29 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01764/2.257, allocations: 7.123 MB / 1.635 GB, free: 77.29 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007802/2.265, allocations: 2.419 MB / 1.637 GB, free: 77.09 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01812/2.283, allocations: 3.327 MB / 1.64 GB, free: 77.07 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009816/2.293, allocations: 2.352 MB / 1.642 GB, free: 77.07 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00334/2.296, allocations: 0.5323 MB / 1.643 GB, free: 77.07 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01402/2.31, allocations: 3.719 MB / 1.647 GB, free: 77.02 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003672/2.314, allocations: 1.473 MB / 1.648 GB, free: 77.02 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00775/2.322, allocations: 1.809 MB / 1.65 GB, free: 76.66 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02652/2.348, allocations: 10.13 MB / 1.66 GB, free: 75.77 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/2.348, allocations: 0 / 1.66 GB, free: 75.77 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.296e-06/2.348, allocations: 4.781 kB / 1.66 GB, free: 75.76 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000318/2.349, allocations: 0 / 1.66 GB, free: 75.76 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.02687/2.376, allocations: 5.254 MB / 1.665 GB, free: 73.39 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 7.148e-05/2.376, allocations: 8.844 kB / 1.665 GB, free: 73.39 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02633/2.402, allocations: 2.786 MB / 1.668 GB, free: 73.17 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/2.417, allocations: 4.163 MB / 1.672 GB, free: 72.41 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009818/2.418, allocations: 0.5336 MB / 1.672 GB, free: 72 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/2.42, allocations: 179.8 kB / 1.672 GB, free: 72 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01656/2.436, allocations: 4.069 MB / 1.676 GB, free: 71.77 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.92e-05/2.436, allocations: 1.031 kB / 1.676 GB, free: 71.77 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/2.437, allocations: 63.34 kB / 1.676 GB, free: 71.77 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/2.438, allocations: 65.55 kB / 1.676 GB, free: 71.77 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/2.457, allocations: 5.157 MB / 1.681 GB, free: 71.75 MB / 1.295 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.04157/2.499, allocations: 13.12 MB / 1.694 GB, free: 66.45 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0219/2.521, allocations: 4.679 MB / 1.699 GB, free: 64.51 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008416/2.529, allocations: 2.315 MB / 1.701 GB, free: 63.29 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008443/2.53, allocations: 138.1 kB / 1.701 GB, free: 63.24 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009794/2.54, allocations: 2.844 MB / 1.704 GB, free: 61.59 MB / 1.295 GB Notification: Performance of pre-optimization done (n=118): time 8.456e-06/2.54, allocations: 3.25 kB / 1.704 GB, free: 61.59 MB / 1.295 GB Notification: Performance of matching and sorting (n=118): time 0.06015/2.6, allocations: 9.562 MB / 1.713 GB, free: 56.82 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/2.6, allocations: 69.22 kB / 1.713 GB, free: 56.76 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01417/2.614, allocations: 4.644 MB / 1.718 GB, free: 54.28 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001179/2.615, allocations: 75.47 kB / 1.718 GB, free: 54.21 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002842/2.618, allocations: 1.482 MB / 1.719 GB, free: 52.93 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001285/2.62, allocations: 415.6 kB / 1.72 GB, free: 52.59 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002604/2.622, allocations: 401.3 kB / 1.72 GB, free: 52.36 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001659/2.622, allocations: 356 kB / 1.721 GB, free: 52.02 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009031/2.631, allocations: 2.863 MB / 1.723 GB, free: 50.42 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009961/2.641, allocations: 3.646 MB / 1.727 GB, free: 47.95 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1213/2.763, allocations: 43.25 MB / 1.769 GB, free: 9.336 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/2.763, allocations: 8 kB / 1.769 GB, free: 9.328 MB / 1.295 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.04423/2.807, allocations: 8.215 MB / 1.777 GB, free: 1.102 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/2.807, allocations: 113.1 kB / 1.777 GB, free: 0.9727 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/2.807, allocations: 4 kB / 1.777 GB, free: 0.9688 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004085/2.811, allocations: 0.9988 MB / 1.778 GB, free: 15.96 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005417/2.817, allocations: 0.6127 MB / 1.779 GB, free: 15.36 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/2.828, allocations: 7.077 MB / 1.786 GB, free: 7.949 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007911/2.836, allocations: 0.5329 MB / 1.786 GB, free: 7.418 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008011/2.837, allocations: 95.89 kB / 1.786 GB, free: 7.324 MB / 1.311 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.eva.watVapEva.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01401/2.851, allocations: 4.007 MB / 1.79 GB, free: 3.293 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01117/2.862, allocations: 3.635 MB / 1.794 GB, free: 15.45 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1424/3.005, allocations: 43.18 MB / 1.836 GB, free: 4.129 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.031e-05/3.005, allocations: 0 / 1.836 GB, free: 4.129 MB / 1.357 GB Notification: Performance of matching and sorting (n=173) (initialization_lambda0): time 0.04892/3.054, allocations: 8.147 MB / 1.844 GB, free: 11.96 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/3.054, allocations: 115.6 kB / 1.844 GB, free: 11.83 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/3.054, allocations: 8 kB / 1.844 GB, free: 11.82 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004063/3.058, allocations: 0.9516 MB / 1.845 GB, free: 10.86 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005322/3.063, allocations: 0.6123 MB / 1.846 GB, free: 10.26 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/3.073, allocations: 6.615 MB / 1.852 GB, free: 3.309 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00773/3.081, allocations: 0.5143 MB / 1.853 GB, free: 2.793 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009681/3.082, allocations: 103.9 kB / 1.853 GB, free: 2.691 MB / 1.373 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.eva.watVapEva.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (sinSpeDX.eva.i_x,$PRE.sinSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],$PRE.sinSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],$PRE.sinSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],$PRE.sinSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],$PRE.sinSpeDX.eva.watVapEva.off,sinSpeDX.eva.dxCoi.wetCoi.coiCap.stage,sinSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],sinSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],sinSpeDX.eva.dxCoi.wetCoi.shr.on,sinSpeDX.eva.dxCoi.dryCoi.coiCap.stage,sinSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],sinSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],sinSpeDX.eva.watVapEva.off,$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 (154): * Single equations (assignments): 145 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 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): 5 systems {(7,3), (1,1), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001005/3.083, allocations: 271.9 kB / 1.853 GB, free: 2.434 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/3.085, allocations: 341.7 kB / 1.853 GB, free: 2.098 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04197/3.127, allocations: 6.911 MB / 1.86 GB, free: 11.18 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.93e-05/3.127, allocations: 7.969 kB / 1.86 GB, free: 11.18 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/3.127, allocations: 0 / 1.86 GB, free: 11.18 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004832/3.132, allocations: 1.038 MB / 1.861 GB, free: 10.14 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001796/3.133, allocations: 39.98 kB / 1.861 GB, free: 10.1 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005994/3.139, allocations: 431.4 kB / 1.862 GB, free: 9.676 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004727/3.14, allocations: 132.8 kB / 1.862 GB, free: 9.547 MB / 1.389 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02514/3.165, allocations: 5.479 MB / 1.867 GB, free: 4.074 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02868/3.194, allocations: 8.097 MB / 1.875 GB, free: 11.96 MB / 1.404 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008846/3.203, allocations: 2.346 MB / 1.877 GB, free: 9.613 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.009837/3.212, allocations: 3.291 MB / 1.88 GB, free: 6.336 MB / 1.404 GB Notification: Performance of Backend: time 5.31e-07/3.212, allocations: 0 / 1.88 GB, free: 6.336 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.03546/3.248, allocations: 8.512 MB / 1.889 GB, free: 13.78 MB / 1.42 GB Notification: Performance of SimCode: time 0.0224/3.27, allocations: 7.492 MB / 1.896 GB, free: 6.289 MB / 1.42 GB Notification: Performance of Templates: time 0.2118/3.482, allocations: 120.6 MB / 2.014 GB, free: 14.61 MB / 1.545 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_WaterSource_Examples_SingleSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.4862674459946]