Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEvaIn.y|dxCoo.Q_flow|dxCoo.mWat_flow|dxCoo.SHR",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEvaIn.y|dxCoo.Q_flow|dxCoo.mWat_flow|dxCoo.SHR",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 113.4 kB / 16.42 MB, free: 6.457 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.00155/0.001551, allocations: 185.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.635/1.635, 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 12.0.0-master/package.mo): time 2.948/2.948, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.7959, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling): time 0.007541/0.8034, allocations: 6.05 MB / 1.232 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1917/0.9952, allocations: 158 MB / 1.387 GB, free: 8.77 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.997, allocations: 15.94 kB / 1.387 GB, free: 8.754 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002513/0.9996, allocations: 0.6961 MB / 1.387 GB, free: 8.059 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002607/1.002, allocations: 0.8001 MB / 1.388 GB, free: 7.254 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004772/1.007, allocations: 1.866 MB / 1.39 GB, free: 5.398 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005845/1.013, allocations: 5.154 MB / 1.395 GB, free: 252 kB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/1.014, allocations: 0.8317 MB / 1.396 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/1.018, allocations: 1.835 MB / 1.398 GB, free: 13.55 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/1.022, allocations: 1.892 MB / 1.399 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001925/1.024, allocations: 0.5156 MB / 1.4 GB, free: 11.14 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006594/1.031, allocations: 2.122 MB / 1.402 GB, free: 9.016 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003009/1.034, allocations: 1.758 MB / 1.404 GB, free: 7.254 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005075/1.039, allocations: 2.594 MB / 1.406 GB, free: 4.648 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01679/1.056, allocations: 10.91 MB / 1.417 GB, free: 9.707 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/1.056, allocations: 0 / 1.417 GB, free: 9.707 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.515e-06/1.056, allocations: 0 / 1.417 GB, free: 9.707 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003167/1.056, allocations: 0 / 1.417 GB, free: 9.707 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.02123/1.077, allocations: 5.694 MB / 1.422 GB, free: 3.914 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/1.077, allocations: 8.031 kB / 1.422 GB, free: 3.906 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03211/1.11, allocations: 3.293 MB / 1.426 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/1.123, allocations: 5.105 MB / 1.431 GB, free: 11.44 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007923/1.123, allocations: 322.6 kB / 1.431 GB, free: 11.09 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008171/1.124, allocations: 95.98 kB / 1.431 GB, free: 11 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/1.141, allocations: 5.447 MB / 1.436 GB, free: 5.531 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/1.141, allocations: 3.938 kB / 1.436 GB, free: 5.527 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008897/1.142, allocations: 39.98 kB / 1.436 GB, free: 5.488 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/1.142, allocations: 24 kB / 1.436 GB, free: 5.465 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02361/1.165, allocations: 7.756 MB / 1.444 GB, free: 13.71 MB / 1.17 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.03801/1.203, allocations: 15.38 MB / 1.459 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02679/1.23, allocations: 7.763 MB / 1.467 GB, free: 6.461 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01075/1.241, allocations: 3.56 MB / 1.47 GB, free: 2.895 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/1.242, allocations: 1.026 MB / 1.471 GB, free: 1.648 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01296/1.255, allocations: 4.866 MB / 1.476 GB, free: 12.76 MB / 1.201 GB Notification: Performance of pre-optimization done (n=137): time 7.144e-06/1.255, allocations: 4 kB / 1.476 GB, free: 12.75 MB / 1.201 GB Notification: Performance of matching and sorting (n=137): time 0.05713/1.312, allocations: 12.57 MB / 1.488 GB, free: 128 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/1.313, allocations: 114.4 kB / 1.488 GB, free: 15.99 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01923/1.332, allocations: 8.061 MB / 1.496 GB, free: 7.934 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0009987/1.333, allocations: 85.69 kB / 1.496 GB, free: 7.844 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002983/1.336, allocations: 1.743 MB / 1.498 GB, free: 6.094 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/1.337, allocations: 444.3 kB / 1.498 GB, free: 5.656 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002174/1.339, allocations: 414.6 kB / 1.499 GB, free: 5.246 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.339, allocations: 305.1 kB / 1.499 GB, free: 4.945 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01681/1.356, allocations: 4.38 MB / 1.503 GB, free: 0.5586 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01766/1.374, allocations: 4.424 MB / 1.508 GB, free: 12.12 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02921/1.403, allocations: 6.646 MB / 1.514 GB, free: 5.441 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/1.403, allocations: 0 / 1.514 GB, free: 5.441 MB / 1.232 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.04711/1.45, allocations: 10.4 MB / 1.524 GB, free: 11 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002367/1.45, allocations: 137.1 kB / 1.524 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/1.45, allocations: 3.938 kB / 1.524 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005924/1.456, allocations: 1.168 MB / 1.526 GB, free: 9.652 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007229/1.464, allocations: 0.698 MB / 1.526 GB, free: 8.953 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/1.485, allocations: 11.02 MB / 1.537 GB, free: 13.2 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/1.495, allocations: 0.5728 MB / 1.537 GB, free: 12.62 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/1.496, allocations: 135.8 kB / 1.538 GB, free: 12.49 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02218/1.518, allocations: 6.121 MB / 1.544 GB, free: 6.359 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01796/1.536, allocations: 4.401 MB / 1.548 GB, free: 1.949 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03063/1.567, allocations: 6.623 MB / 1.554 GB, free: 11.29 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.324e-05/1.567, allocations: 0 / 1.554 GB, free: 11.29 MB / 1.279 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.04733/1.614, allocations: 10.21 MB / 1.564 GB, free: 1.027 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001917/1.614, allocations: 126.8 kB / 1.564 GB, free: 0.8867 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.615, allocations: 4 kB / 1.564 GB, free: 0.8828 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7122/2.327, allocations: 0.9765 MB / 1.565 GB, free: 324.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006439/2.333, allocations: 0.6899 MB / 1.566 GB, free: 324.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009402/2.343, allocations: 9.429 MB / 1.575 GB, free: 317.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008546/2.351, allocations: 0.5585 MB / 1.576 GB, free: 317.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/2.352, allocations: 125 kB / 1.576 GB, free: 317.7 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 58 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dxCoo.dryCoi.coiCap.checkBoundsTCon[4],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTCon[4],dxCoo.dryCoi.coiCap.checkBoundsTCon[3],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTCon[3],dxCoo.dryCoi.coiCap.checkBoundsTCon[2],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTCon[2],dxCoo.dryCoi.coiCap.checkBoundsTCon[1],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTCon[1],dxCoo.dryCoi.coiCap.checkBoundsTEva[4],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTEva[4],dxCoo.dryCoi.coiCap.checkBoundsTEva[3],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTEva[3],dxCoo.dryCoi.coiCap.checkBoundsTEva[2],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTEva[2],dxCoo.dryCoi.coiCap.checkBoundsTEva[1],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTEva[1],dxCoo.dryCoi.coiCap.stage,dxCoo.wetCoi.shr.on,dxCoo.wetCoi.coiCap.checkBoundsTCon[4],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTCon[4],dxCoo.wetCoi.coiCap.checkBoundsTCon[3],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTCon[3],dxCoo.wetCoi.coiCap.checkBoundsTCon[2],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTCon[2],dxCoo.wetCoi.coiCap.checkBoundsTCon[1],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTCon[1],dxCoo.wetCoi.coiCap.checkBoundsTEva[4],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTEva[4],dxCoo.wetCoi.coiCap.checkBoundsTEva[3],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTEva[3],dxCoo.wetCoi.coiCap.checkBoundsTEva[2],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTEva[2],dxCoo.wetCoi.coiCap.checkBoundsTEva[1],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTEva[1],dxCoo.wetCoi.coiCap.stage,$whenCondition17,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 6 systems {(1,1), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00118/2.353, allocations: 344.3 kB / 1.576 GB, free: 317.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/2.355, allocations: 457.3 kB / 1.577 GB, free: 317.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04055/2.396, allocations: 8.897 MB / 1.585 GB, free: 315.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.695e-05/2.396, allocations: 8.422 kB / 1.585 GB, free: 315.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/2.396, allocations: 4 kB / 1.585 GB, free: 315.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004785/2.401, allocations: 1.65 MB / 1.587 GB, free: 314.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002803/2.404, allocations: 132.5 kB / 1.587 GB, free: 314.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007489/2.411, allocations: 0.5273 MB / 1.588 GB, free: 314.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005718/2.412, allocations: 140.9 kB / 1.588 GB, free: 314.7 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02649/2.438, allocations: 7.729 MB / 1.595 GB, free: 312.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03131/2.47, allocations: 12.4 MB / 1.607 GB, free: 303.4 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009069/2.479, allocations: 3.648 MB / 1.611 GB, free: 299.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01103/2.49, allocations: 5.743 MB / 1.617 GB, free: 294 MB / 1.279 GB Notification: Performance of Backend: time 9.22e-07/2.49, allocations: 3.938 kB / 1.617 GB, free: 294 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03075/2.52, allocations: 12.25 MB / 1.629 GB, free: 281.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.017/2.538, allocations: 9.564 MB / 1.638 GB, free: 272.1 MB / 1.279 GB Notification: Performance of Templates: time 0.1687/2.706, allocations: 138.8 MB / 1.773 GB, free: 133.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DXCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches