Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001646/0.001646, allocations: 109.7 kB / 16.41 MB, free: 6.512 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.001781/0.001781, allocations: 190.7 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.51/1.51, 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 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 60.12 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed): time 0.2599/1.301, allocations: 205.6 MB / 1.368 GB, free: 5.508 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03187/1.333, allocations: 20.26 MB / 1.388 GB, free: 1.176 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0035/1.337, allocations: 43.81 kB / 1.388 GB, free: 1.133 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004012/1.341, allocations: 1.083 MB / 1.389 GB, free: 44 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009525/1.351, allocations: 2.614 MB / 1.391 GB, free: 13.42 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01038/1.361, allocations: 3.297 MB / 1.395 GB, free: 10.14 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008687/1.37, allocations: 4.908 MB / 1.4 GB, free: 5.23 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004066/1.374, allocations: 1.991 MB / 1.401 GB, free: 3.191 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006075/1.38, allocations: 1.939 MB / 1.403 GB, free: 1.258 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004009/1.384, allocations: 1.63 MB / 1.405 GB, free: 15.63 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001495/1.385, allocations: 380 kB / 1.405 GB, free: 15.26 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008785/1.394, allocations: 3.536 MB / 1.409 GB, free: 11.71 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001774/1.396, allocations: 1.083 MB / 1.41 GB, free: 10.63 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003789/1.4, allocations: 1.7 MB / 1.411 GB, free: 8.922 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01376/1.414, allocations: 7.273 MB / 1.419 GB, free: 1.629 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.414, allocations: 0 / 1.419 GB, free: 1.629 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.074e-06/1.414, allocations: 0 / 1.419 GB, free: 1.629 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002062/1.414, allocations: 7.938 kB / 1.419 GB, free: 1.621 MB / 1.139 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.01252/1.426, allocations: 3.773 MB / 1.422 GB, free: 13.76 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 7.308e-05/1.426, allocations: 8.922 kB / 1.422 GB, free: 13.75 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02327/1.45, allocations: 2.306 MB / 1.425 GB, free: 11.44 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007786/1.458, allocations: 2.941 MB / 1.427 GB, free: 8.426 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005163/1.458, allocations: 338.3 kB / 1.428 GB, free: 8.051 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008692/1.459, allocations: 136 kB / 1.428 GB, free: 7.918 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/1.47, allocations: 3.1 MB / 1.431 GB, free: 4.777 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.737e-05/1.47, allocations: 3.938 kB / 1.431 GB, free: 4.773 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000416/1.471, allocations: 51.94 kB / 1.431 GB, free: 4.723 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.42e-05/1.471, allocations: 50.39 kB / 1.431 GB, free: 4.672 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/1.487, allocations: 3.959 MB / 1.435 GB, free: 0.7031 MB / 1.154 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.0286/1.515, allocations: 11.11 MB / 1.446 GB, free: 5.367 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01856/1.534, allocations: 4.069 MB / 1.45 GB, free: 1.285 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007401/1.541, allocations: 1.936 MB / 1.452 GB, free: 15.35 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.543, allocations: 0.7568 MB / 1.452 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008651/1.551, allocations: 2.272 MB / 1.455 GB, free: 12.14 MB / 1.186 GB Notification: Performance of pre-optimization done (n=107): time 6.813e-06/1.551, allocations: 0 / 1.455 GB, free: 12.14 MB / 1.186 GB Notification: Performance of matching and sorting (n=109): time 0.06696/1.618, allocations: 11.81 MB / 1.466 GB, free: 200 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/1.618, allocations: 80.33 kB / 1.466 GB, free: 108 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008915/1.627, allocations: 3.341 MB / 1.469 GB, free: 12.74 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0008332/1.628, allocations: 61.7 kB / 1.469 GB, free: 12.68 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/1.63, allocations: 1.03 MB / 1.47 GB, free: 11.64 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009276/1.631, allocations: 362.8 kB / 1.471 GB, free: 11.28 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001588/1.632, allocations: 322.7 kB / 1.471 GB, free: 10.95 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.633, allocations: 361.9 kB / 1.471 GB, free: 10.59 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007994/1.641, allocations: 2.208 MB / 1.474 GB, free: 8.379 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008166/1.649, allocations: 2.363 MB / 1.476 GB, free: 5.973 MB / 1.201 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.1307/1.78, allocations: 40.69 MB / 1.516 GB, free: 13.15 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.78, allocations: 0 / 1.516 GB, free: 13.15 MB / 1.248 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.03821/1.818, allocations: 6.7 MB / 1.522 GB, free: 6.402 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002166/1.818, allocations: 109.1 kB / 1.522 GB, free: 6.277 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.818, allocations: 4 kB / 1.522 GB, free: 6.273 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003752/1.822, allocations: 0.7964 MB / 1.523 GB, free: 5.461 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/1.826, allocations: 0.4953 MB / 1.524 GB, free: 4.965 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/1.837, allocations: 7.179 MB / 1.531 GB, free: 13.31 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/1.842, allocations: 363.5 kB / 1.531 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006609/1.843, allocations: 84.12 kB / 1.531 GB, free: 12.87 MB / 1.264 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.01044/1.853, allocations: 3.04 MB / 1.534 GB, free: 9.82 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008073/1.862, allocations: 2.344 MB / 1.536 GB, free: 7.434 MB / 1.264 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 1.207/3.069, allocations: 40.61 MB / 1.576 GB, free: 378.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.62e-06/3.069, allocations: 0 / 1.576 GB, free: 378.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=153) (initialization_lambda0): time 0.03503/3.104, allocations: 6.629 MB / 1.582 GB, free: 373.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/3.104, allocations: 126.4 kB / 1.583 GB, free: 373.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/3.104, allocations: 0 / 1.583 GB, free: 373.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003001/3.107, allocations: 0.7407 MB / 1.583 GB, free: 372.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004101/3.111, allocations: 0.5078 MB / 1.584 GB, free: 372.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007379/3.119, allocations: 6.741 MB / 1.59 GB, free: 365.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005426/3.124, allocations: 371.4 kB / 1.591 GB, free: 364.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007559/3.125, allocations: 75.91 kB / 1.591 GB, free: 364.7 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.001154/3.126, allocations: 272.4 kB / 1.591 GB, free: 364.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/3.127, allocations: 243.2 kB / 1.591 GB, free: 364.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03228/3.16, allocations: 5.581 MB / 1.597 GB, free: 358.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03194/3.192, allocations: 5.214 MB / 1.602 GB, free: 353.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/3.192, allocations: 0 / 1.602 GB, free: 353.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003101/3.195, allocations: 0.8024 MB / 1.603 GB, free: 352.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001753/3.197, allocations: 39.98 kB / 1.603 GB, free: 352.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005399/3.202, allocations: 363 kB / 1.603 GB, free: 352.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005886/3.203, allocations: 104.8 kB / 1.603 GB, free: 352.3 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01961/3.222, allocations: 4.412 MB / 1.607 GB, free: 347.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02126/3.244, allocations: 6.417 MB / 1.614 GB, free: 341.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006614/3.25, allocations: 1.916 MB / 1.615 GB, free: 339.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005841/3.256, allocations: 2.349 MB / 1.618 GB, free: 337.3 MB / 1.279 GB Notification: Performance of Backend: time 7.71e-07/3.256, allocations: 0 / 1.618 GB, free: 337.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02625/3.282, allocations: 7.115 MB / 1.625 GB, free: 330.2 MB / 1.279 GB Notification: Performance of SimCode: time 0.01415/3.297, allocations: 5.679 MB / 1.63 GB, free: 324.5 MB / 1.279 GB Notification: Performance of Templates: time 0.1344/3.431, allocations: 87.45 MB / 1.716 GB, free: 237.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_AirSource_Examples_SingleSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches