Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DXSystems.Cooling.AirSource.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinSpeDX.vol.T|sinSpeDX.sta_a.T|sinSpeDX.dxCoi.mWat_flow|sinSpeDX.vol.X_w|sinSpeDX.sta_a.X.1.|onOff.y|sinSpeDX.P|sinSpeDX.dxCoi.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed") translateModel(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinSpeDX.vol.T|sinSpeDX.sta_a.T|sinSpeDX.dxCoi.mWat_flow|sinSpeDX.vol.X_w|sinSpeDX.sta_a.X.1.|onOff.y|sinSpeDX.P|sinSpeDX.dxCoi.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001512/0.001512, allocations: 192.3 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.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 63.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9151/0.9174, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed): time 0.2382/1.156, allocations: 205.5 MB / 1.409 GB, free: 15.3 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02819/1.184, allocations: 20.27 MB / 1.429 GB, free: 10.97 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003437/1.187, allocations: 43.81 kB / 1.429 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003833/1.191, allocations: 1.064 MB / 1.43 GB, free: 9.855 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00788/1.199, allocations: 2.53 MB / 1.433 GB, free: 7.316 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.009513/1.209, allocations: 3.252 MB / 1.436 GB, free: 4.086 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.009051/1.218, allocations: 4.898 MB / 1.44 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/1.221, allocations: 1.987 MB / 1.442 GB, free: 13.15 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004791/1.226, allocations: 1.938 MB / 1.444 GB, free: 11.21 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/1.229, allocations: 1.636 MB / 1.446 GB, free: 9.578 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006179/1.229, allocations: 384 kB / 1.446 GB, free: 9.203 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007807/1.237, allocations: 3.513 MB / 1.45 GB, free: 5.684 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/1.238, allocations: 1.079 MB / 1.451 GB, free: 4.602 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002234/1.24, allocations: 1.7 MB / 1.452 GB, free: 2.895 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0116/1.252, allocations: 7.273 MB / 1.46 GB, free: 11.6 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.252, allocations: 0 / 1.46 GB, free: 11.6 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.384e-06/1.252, allocations: 0 / 1.46 GB, free: 11.6 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.097e-05/1.252, allocations: 0 / 1.46 GB, free: 11.6 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 308 * Number of variables: 308 Notification: Performance of Generate backend data structure: time 0.008741/1.261, allocations: 3.784 MB / 1.463 GB, free: 7.723 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.261, allocations: 8.031 kB / 1.463 GB, free: 7.715 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02174/1.283, allocations: 2.31 MB / 1.465 GB, free: 5.398 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006729/1.29, allocations: 2.933 MB / 1.468 GB, free: 2.395 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005005/1.29, allocations: 338.3 kB / 1.469 GB, free: 2.02 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006272/1.291, allocations: 139.9 kB / 1.469 GB, free: 1.883 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/1.301, allocations: 3.096 MB / 1.472 GB, free: 14.75 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/1.301, allocations: 3.938 kB / 1.472 GB, free: 14.74 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/1.301, allocations: 52 kB / 1.472 GB, free: 14.69 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/1.301, allocations: 46.41 kB / 1.472 GB, free: 14.64 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/1.316, allocations: 3.963 MB / 1.476 GB, free: 10.67 MB / 1.201 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.02521/1.342, allocations: 11.11 MB / 1.487 GB, free: 15.33 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01729/1.359, allocations: 4.072 MB / 1.491 GB, free: 11.25 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007219/1.366, allocations: 1.932 MB / 1.492 GB, free: 9.316 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007795/1.367, allocations: 0.7568 MB / 1.493 GB, free: 8.395 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008118/1.375, allocations: 2.286 MB / 1.495 GB, free: 6.094 MB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 5.531e-06/1.375, allocations: 0 / 1.495 GB, free: 6.094 MB / 1.217 GB Notification: Performance of matching and sorting (n=109): time 0.06383/1.439, allocations: 11.81 MB / 1.507 GB, free: 10.15 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/1.439, allocations: 68.34 kB / 1.507 GB, free: 10.07 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005665/1.445, allocations: 3.344 MB / 1.51 GB, free: 6.711 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0009549/1.446, allocations: 69.69 kB / 1.51 GB, free: 6.637 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/1.447, allocations: 1.026 MB / 1.511 GB, free: 5.598 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007456/1.448, allocations: 362.8 kB / 1.512 GB, free: 5.238 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007818/1.449, allocations: 326.7 kB / 1.512 GB, free: 4.91 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.449, allocations: 357.9 kB / 1.512 GB, free: 4.555 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007257/1.456, allocations: 2.212 MB / 1.515 GB, free: 2.336 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007696/1.464, allocations: 2.351 MB / 1.517 GB, free: 15.94 MB / 1.248 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.1277/1.592, allocations: 40.68 MB / 1.557 GB, free: 7.125 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.592, allocations: 0 / 1.557 GB, free: 7.125 MB / 1.279 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.04289/1.635, allocations: 6.693 MB / 1.563 GB, free: 392 kB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/1.635, allocations: 117.1 kB / 1.563 GB, free: 256 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.635, allocations: 0 / 1.563 GB, free: 256 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7863/2.421, allocations: 0.7892 MB / 1.564 GB, free: 346.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004611/2.426, allocations: 0.5037 MB / 1.564 GB, free: 346.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/2.436, allocations: 7.179 MB / 1.572 GB, free: 341.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005865/2.442, allocations: 364.4 kB / 1.572 GB, free: 341.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005416/2.443, allocations: 82.08 kB / 1.572 GB, free: 341.2 MB / 1.279 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.watVapEva.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.01019/2.453, allocations: 3.04 MB / 1.575 GB, free: 340 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008556/2.461, allocations: 2.343 MB / 1.577 GB, free: 339.2 MB / 1.279 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.117/2.578, allocations: 40.62 MB / 1.617 GB, free: 309.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-06/2.578, allocations: 0 / 1.617 GB, free: 309.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=153) (initialization_lambda0): time 0.03483/2.613, allocations: 6.641 MB / 1.623 GB, free: 303.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002068/2.614, allocations: 113.1 kB / 1.623 GB, free: 302.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/2.614, allocations: 4 kB / 1.623 GB, free: 302.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/2.617, allocations: 0.7418 MB / 1.624 GB, free: 302.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/2.621, allocations: 0.507 MB / 1.625 GB, free: 301.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0068/2.628, allocations: 6.743 MB / 1.631 GB, free: 294.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005386/2.633, allocations: 364 kB / 1.632 GB, free: 294.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000608/2.634, allocations: 83.84 kB / 1.632 GB, free: 294 MB / 1.279 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.watVapEva.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: 9 * Number of states: 0 () * Number of discrete variables: 19 (sinSpeDX.i_x,$PRE.sinSpeDX.watVapEva.off,$PRE.sinSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],$PRE.sinSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],$PRE.sinSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],$PRE.sinSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],sinSpeDX.watVapEva.off,sinSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],sinSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],sinSpeDX.dxCoi.dryCoi.coiCap.stage,sinSpeDX.dxCoi.wetCoi.shr.on,sinSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],sinSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],sinSpeDX.dxCoi.wetCoi.coiCap.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 (137): * Single equations (assignments): 128 * 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.0009972/2.635, allocations: 273.6 kB / 1.632 GB, free: 293.8 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009556/2.636, allocations: 233 kB / 1.632 GB, free: 293.7 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03063/2.666, allocations: 5.592 MB / 1.638 GB, free: 288.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02986/2.696, allocations: 5.219 MB / 1.643 GB, free: 282.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/2.696, allocations: 4 kB / 1.643 GB, free: 282.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002198/2.698, allocations: 0.8059 MB / 1.644 GB, free: 282.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006457/2.699, allocations: 35.98 kB / 1.644 GB, free: 282.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004169/2.703, allocations: 347.5 kB / 1.644 GB, free: 281.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003354/2.704, allocations: 104.9 kB / 1.644 GB, free: 281.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01839/2.722, allocations: 4.417 MB / 1.648 GB, free: 277.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02008/2.742, allocations: 6.417 MB / 1.655 GB, free: 270.8 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006283/2.748, allocations: 1.916 MB / 1.656 GB, free: 268.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003496/2.752, allocations: 2.357 MB / 1.659 GB, free: 266.5 MB / 1.279 GB Notification: Performance of Backend: time 7.72e-07/2.752, allocations: 0 / 1.659 GB, free: 266.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0218/2.774, allocations: 7.106 MB / 1.666 GB, free: 259.5 MB / 1.279 GB Notification: Performance of SimCode: time 0.009969/2.784, allocations: 5.672 MB / 1.671 GB, free: 253.8 MB / 1.279 GB Notification: Performance of Templates: time 0.1177/2.902, allocations: 87.44 MB / 1.757 GB, free: 166.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_AirSource_Examples_SingleSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches