Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.673/2.673, allocations: 437 MB / 0.7104 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.759/0.761, allocations: 151.6 MB / 1.017 GB, free: 2.562 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004937/0.766, allocations: 2.883 MB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003567/0.7696, allocations: 2.213 MB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.7699, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.7709, allocations: 272.4 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.7713, allocations: 75.3 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.7728, allocations: 486.7 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007777/0.7736, allocations: 0.5103 MB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.7738, allocations: 44.73 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/0.7742, allocations: 207.4 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.7745, allocations: 207.3 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.7746, allocations: 36 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.7752, allocations: 251.7 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.7754, allocations: 159.5 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.7757, allocations: 218.9 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009481/0.7767, allocations: 0.7439 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7767, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7767, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.7767, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 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.001549/0.7783, allocations: 0.8399 MB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.7783, allocations: 11.98 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.7804, allocations: 236.1 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.781, allocations: 429.9 kB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.7811, allocations: 79.94 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.7812, allocations: 12.38 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.7824, allocations: 0.534 MB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7825, allocations: 4 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.7825, allocations: 11.98 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.7825, allocations: 4 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.7845, allocations: 0.7572 MB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.7867, allocations: 1.257 MB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00524/0.792, allocations: 1.015 MB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.7931, allocations: 404.9 kB / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.7931, allocations: 3.984 kB / 1.031 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.7945, allocations: 0.5317 MB / 1.031 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.535e-06/0.7945, allocations: 0 / 1.031 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.003339/0.7978, allocations: 1.183 MB / 1.032 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.7979, allocations: 55.41 kB / 1.033 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006579/0.7986, allocations: 0.529 MB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.044e-05/0.7987, allocations: 33.7 kB / 1.033 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.7988, allocations: 200.5 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.272e-05/0.7989, allocations: 63.11 kB / 1.033 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.7991, allocations: 73.55 kB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.7993, allocations: 354.8 kB / 1.034 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.8004, allocations: 468.5 kB / 1.034 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.8016, allocations: 0.503 MB / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.8036, allocations: 0.7456 MB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.8036, allocations: 0 / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002524/0.8061, allocations: 1.076 MB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.656e-05/0.8062, allocations: 45.69 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8062, allocations: 0 / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.8063, allocations: 3.938 kB / 1.037 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.8069, allocations: 87.89 kB / 1.037 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.8069, allocations: 3.984 kB / 1.037 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.8075, allocations: 59.83 kB / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.8075, allocations: 19.98 kB / 1.037 GB, free: 14.39 MB / 0.795 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 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$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.0003306/0.8079, allocations: 213.7 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.808, allocations: 43.44 kB / 1.037 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.8081, allocations: 55.84 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.8082, allocations: 3.938 kB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.8082, allocations: 4 kB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8082, allocations: 0 / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/0.8089, allocations: 0.6415 MB / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.809, allocations: 0 / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.8096, allocations: 95.83 kB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.8096, allocations: 3.984 kB / 1.038 GB, free: 13.28 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.8096, allocations: 15.91 kB / 1.038 GB, free: 13.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8097, allocations: 8 kB / 1.038 GB, free: 13.26 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8097, allocations: 0 / 1.038 GB, free: 13.26 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.8119, allocations: 0.8305 MB / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.8122, allocations: 188.4 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.8123, allocations: 15.92 kB / 1.039 GB, free: 12.19 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005844/0.8129, allocations: 67.92 kB / 1.039 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.813, allocations: 19.97 kB / 1.039 GB, free: 12.11 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.813, allocations: 11.98 kB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004988/0.8135, allocations: 391 kB / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/0.8135, allocations: 0 / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004308/0.814, allocations: 96 kB / 1.039 GB, free: 11.62 MB / 0.795 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.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * 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.0002918/0.8143, allocations: 151.1 kB / 1.039 GB, free: 11.46 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.8166, allocations: 0.9635 MB / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8167, allocations: 0 / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.8178, allocations: 419.6 kB / 1.041 GB, free: 10.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.8183, allocations: 92.03 kB / 1.041 GB, free: 9.988 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.8208, allocations: 1.065 MB / 1.042 GB, free: 8.898 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.8213, allocations: 0.8583 MB / 1.043 GB, free: 8.016 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005249/0.8219, allocations: 130.9 kB / 1.043 GB, free: 7.891 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.822, allocations: 43.41 kB / 1.043 GB, free: 7.852 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/0.822, allocations: 0 / 1.043 GB, free: 7.852 MB / 0.795 GB Notification: Performance of Templates: time 0.01635/0.8384, allocations: 8.775 MB / 1.051 GB, free: 15.16 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches