Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.BaseClasses.Examples.CapacityAirSource,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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007296/0.007296, allocations: 170 kB / 16.27 MB, free: 6.66 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.537/1.537, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.003/3.003, allocations: 483.2 MB / 0.7564 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 9.125 kB / 0.9276 GB, free: 29.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3743, allocations: 164.5 MB / 1.088 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002899/0.3772, allocations: 1.84 MB / 1.09 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003304/0.3806, allocations: 1.829 MB / 1.092 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.3808, allocations: 0 / 1.092 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008466/0.3817, allocations: 219.2 kB / 1.092 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.3819, allocations: 55.48 kB / 1.092 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.3831, allocations: 382.6 kB / 1.092 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006359/0.3837, allocations: 382.8 kB / 1.093 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.3839, allocations: 40.39 kB / 1.093 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.3842, allocations: 139.5 kB / 1.093 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.3845, allocations: 155.4 kB / 1.093 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.266e-05/0.3846, allocations: 16 kB / 1.093 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.3851, allocations: 219.7 kB / 1.093 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3852, allocations: 111.7 kB / 1.093 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.3855, allocations: 184.9 kB / 1.094 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.3862, allocations: 0.5684 MB / 1.094 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3862, allocations: 4 kB / 1.094 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3862, allocations: 0 / 1.094 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.3862, allocations: 0 / 1.094 GB, free: 4.125 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001123/0.3873, allocations: 0.6479 MB / 1.095 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3874, allocations: 12.03 kB / 1.095 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.3892, allocations: 164.4 kB / 1.095 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.3897, allocations: 370.2 kB / 1.095 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.3898, allocations: 71.95 kB / 1.095 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.3899, allocations: 12.31 kB / 1.095 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.391, allocations: 465.4 kB / 1.096 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.391, allocations: 0 / 1.096 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.3911, allocations: 4 kB / 1.096 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3911, allocations: 3.938 kB / 1.096 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.3929, allocations: 0.6285 MB / 1.096 GB, free: 1.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.3949, allocations: 1.054 MB / 1.098 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005465/0.4004, allocations: 0.9197 MB / 1.098 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008985/0.4013, allocations: 328.7 kB / 1.099 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.4014, allocations: 0 / 1.099 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.4025, allocations: 471 kB / 1.099 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/0.4026, allocations: 0 / 1.099 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002867/0.4054, allocations: 0.9745 MB / 1.1 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.4055, allocations: 59.41 kB / 1.1 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000665/0.4062, allocations: 429.6 kB / 1.101 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.85e-05/0.4063, allocations: 33.7 kB / 1.101 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.4065, allocations: 175.9 kB / 1.101 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.4066, allocations: 47.36 kB / 1.101 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.4066, allocations: 21.72 kB / 1.101 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.4068, allocations: 350.7 kB / 1.101 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009855/0.4078, allocations: 404.6 kB / 1.102 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009519/0.4088, allocations: 389.3 kB / 1.102 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.4105, allocations: 0.6363 MB / 1.103 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.4105, allocations: 3.938 kB / 1.103 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002222/0.4128, allocations: 0.9475 MB / 1.104 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.4128, allocations: 43.41 kB / 1.104 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.4129, allocations: 0 / 1.104 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4129, allocations: 0 / 1.104 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.4134, allocations: 75.92 kB / 1.104 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4134, allocations: 0 / 1.104 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.4139, allocations: 55.8 kB / 1.104 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/0.4139, allocations: 19.92 kB / 1.104 GB, free: 10.13 MB / 0.8575 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 (17): * Single equations (assignments): 16 * 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.0003123/0.4142, allocations: 193.5 kB / 1.104 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/0.4143, allocations: 31.62 kB / 1.104 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.657e-05/0.4144, allocations: 47.45 kB / 1.104 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4145, allocations: 0 / 1.104 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4145, allocations: 0 / 1.104 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4145, allocations: 0 / 1.104 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000704/0.4152, allocations: 0.5438 MB / 1.104 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4152, allocations: 4 kB / 1.104 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.4157, allocations: 75.91 kB / 1.105 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.4157, allocations: 4 kB / 1.105 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.4157, allocations: 15.86 kB / 1.105 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4157, allocations: 4 kB / 1.105 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4158, allocations: 0 / 1.105 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.4176, allocations: 0.6978 MB / 1.105 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.4179, allocations: 168.5 kB / 1.105 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.418, allocations: 8 kB / 1.105 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.4184, allocations: 63.94 kB / 1.105 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.4186, allocations: 19.97 kB / 1.106 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.4186, allocations: 7.984 kB / 1.106 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004195/0.419, allocations: 327 kB / 1.106 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.419, allocations: 3.938 kB / 1.106 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000425/0.4195, allocations: 76.25 kB / 1.106 GB, free: 7.762 MB / 0.8575 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 (16): * Single equations (assignments): 14 * 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.0003607/0.4198, allocations: 139.1 kB / 1.106 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.4219, allocations: 0.7919 MB / 1.107 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4219, allocations: 0 / 1.107 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000922/0.4228, allocations: 347.7 kB / 1.107 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.4233, allocations: 69.5 kB / 1.107 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.4253, allocations: 0.9169 MB / 1.108 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.4259, allocations: 0.8183 MB / 1.109 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000445/0.4264, allocations: 94.27 kB / 1.109 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.4265, allocations: 35.41 kB / 1.109 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.4266, allocations: 0 / 1.109 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of Templates: time 0.01407/0.4406, allocations: 6.654 MB / 1.116 GB, free: 13.9 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches