Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.001592/0.001592, allocations: 79.28 kB / 19.18 MB, free: 2.52 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.001653/0.001653, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.539/1.539, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.025/3.025, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.307e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005101/0.005134, allocations: 2.702 MB / 0.9536 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003948/0.009082, allocations: 2.081 MB / 0.9557 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.009246, allocations: 4 kB / 0.9557 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009311/0.01018, allocations: 234.5 kB / 0.9559 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.01039, allocations: 95.14 kB / 0.956 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.01187, allocations: 493.5 kB / 0.9565 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007319/0.0126, allocations: 0.5218 MB / 0.957 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.01273, allocations: 24.92 kB / 0.957 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.0131, allocations: 267.5 kB / 0.9573 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.01342, allocations: 183.6 kB / 0.9574 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.527e-05/0.0135, allocations: 36 kB / 0.9575 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005751/0.01408, allocations: 271.5 kB / 0.9577 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.01431, allocations: 163.5 kB / 0.9579 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.01452, allocations: 139.7 kB / 0.958 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.01563, allocations: 0.8141 MB / 0.9588 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.01563, allocations: 0 / 0.9588 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/0.01563, allocations: 0 / 0.9588 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.01565, allocations: 4 kB / 0.9588 GB, free: 3.531 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001657/0.01731, allocations: 0.7681 MB / 0.9596 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.01735, allocations: 16.03 kB / 0.9596 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.01961, allocations: 228.4 kB / 0.9598 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006646/0.02028, allocations: 371.8 kB / 0.9601 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.02045, allocations: 143.3 kB / 0.9603 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/0.02052, allocations: 12.38 kB / 0.9603 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.02195, allocations: 0.5056 MB / 0.9608 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.02196, allocations: 192 / 0.9608 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.02201, allocations: 12.12 kB / 0.9608 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.02202, allocations: 0 / 0.9608 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.02427, allocations: 0.7689 MB / 0.9616 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.02688, allocations: 1.101 MB / 0.9626 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005649/0.03253, allocations: 0.9939 MB / 0.9636 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.03363, allocations: 380.6 kB / 0.964 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.03366, allocations: 7.938 kB / 0.964 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.03504, allocations: 0.5164 MB / 0.9645 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/0.03504, allocations: 0 / 0.9645 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.00358/0.03862, allocations: 1.175 MB / 0.9656 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.03869, allocations: 59.34 kB / 0.9657 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006992/0.03939, allocations: 0.5214 MB / 0.9662 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/0.03946, allocations: 37.64 kB / 0.9662 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.03966, allocations: 200.5 kB / 0.9664 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/0.03975, allocations: 71.42 kB / 0.9665 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.03992, allocations: 65.66 kB / 0.9665 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.04011, allocations: 354.8 kB / 0.9669 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.04133, allocations: 477.4 kB / 0.9673 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.04264, allocations: 0.5515 MB / 0.9679 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.04481, allocations: 0.7641 MB / 0.9686 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.675e-05/0.04485, allocations: 0 / 0.9686 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002727/0.04758, allocations: 1.109 MB / 0.9697 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.04764, allocations: 33.7 kB / 0.9697 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.04765, allocations: 7.984 kB / 0.9697 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.04767, allocations: 0 / 0.9697 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.04832, allocations: 95.83 kB / 0.9698 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.04833, allocations: 0 / 0.9698 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/0.0489, allocations: 67.77 kB / 0.9699 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.04896, allocations: 11.98 kB / 0.9699 GB, free: 7.898 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003208/0.04928, allocations: 213.8 kB / 0.9701 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.64e-05/0.04938, allocations: 47.72 kB / 0.9702 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.62e-05/0.04947, allocations: 51.95 kB / 0.9702 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.04948, allocations: 0 / 0.9702 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.04949, allocations: 4 kB / 0.9702 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.04949, allocations: 7.984 kB / 0.9702 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/0.05015, allocations: 0.5084 MB / 0.9707 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.05015, allocations: 0 / 0.9707 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.05078, allocations: 87.89 kB / 0.9708 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.05079, allocations: 0 / 0.9708 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/0.05083, allocations: 11.98 kB / 0.9708 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.05083, allocations: 3.938 kB / 0.9708 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.05083, allocations: 0 / 0.9708 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.05319, allocations: 0.8414 MB / 0.9716 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.05344, allocations: 111.6 kB / 0.9717 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.071e-05/0.05351, allocations: 4 kB / 0.9717 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005818/0.0541, allocations: 63.92 kB / 0.9718 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.05422, allocations: 27.95 kB / 0.9718 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.05426, allocations: 11.98 kB / 0.9718 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004974/0.05475, allocations: 398.9 kB / 0.9722 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7.1e-08/0.05475, allocations: 0 / 0.9722 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004341/0.05519, allocations: 95.94 kB / 0.9723 GB, free: 5.375 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003266/0.05551, allocations: 147.1 kB / 0.9725 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002541/0.05806, allocations: 0.9389 MB / 0.9734 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.05806, allocations: 4 kB / 0.9734 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.05922, allocations: 407.6 kB / 0.9738 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.05978, allocations: 104.3 kB / 0.9739 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.06248, allocations: 1.052 MB / 0.9749 GB, free: 2.684 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.06279, allocations: 249 kB / 0.9751 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004446/0.06323, allocations: 130.9 kB / 0.9753 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.06343, allocations: 48.47 kB / 0.9753 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of SimCode: time 9.12e-07/0.06343, allocations: 0 / 0.9753 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of Templates: time 0.01811/0.08155, allocations: 9.209 MB / 0.9843 GB, free: 9.18 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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: 9.392519649118185]