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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.000932/0.000932, allocations: 91.3 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.007957/0.007957, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004046, allocations: 15.86 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3332, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002502/0.3357, allocations: 1.849 MB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002906/0.3387, allocations: 1.827 MB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.3388, allocations: 7.875 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008221/0.3397, allocations: 219.2 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.3399, allocations: 59.48 kB / 1.063 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.3409, allocations: 369.3 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004555/0.3414, allocations: 382.8 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3415, allocations: 44.36 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.3417, allocations: 139.5 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.3419, allocations: 151.4 kB / 1.064 GB, free: 480 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.342, allocations: 16 kB / 1.064 GB, free: 464 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.3424, allocations: 227.7 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.3425, allocations: 107.7 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.3427, allocations: 180.9 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.3434, allocations: 0.5646 MB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3434, allocations: 7.938 kB / 1.065 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3434, allocations: 4 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3435, allocations: 0 / 1.065 GB, free: 15.36 MB / 0.8262 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.001195/0.3447, allocations: 0.6441 MB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3447, allocations: 8.031 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.3465, allocations: 176.2 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.347, allocations: 358.3 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.3471, allocations: 75.95 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.3471, allocations: 8.375 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.3485, allocations: 465.3 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3486, allocations: 4 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.3486, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3486, allocations: 7.938 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.3511, allocations: 0.6246 MB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.3538, allocations: 1.043 MB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006868/0.3607, allocations: 0.9158 MB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.3621, allocations: 332.7 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.3622, allocations: 3.984 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.3636, allocations: 469.2 kB / 1.07 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 3.256e-06/0.3637, allocations: 0 / 1.07 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.003874/0.3675, allocations: 0.9772 MB / 1.071 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.3676, allocations: 59.41 kB / 1.071 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.3685, allocations: 429.6 kB / 1.071 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.3686, allocations: 33.7 kB / 1.071 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.3688, allocations: 180 kB / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.369, allocations: 43.36 kB / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/0.3691, allocations: 21.72 kB / 1.071 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.3693, allocations: 354.7 kB / 1.072 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.3706, allocations: 396.6 kB / 1.072 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.372, allocations: 397.2 kB / 1.072 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.3742, allocations: 0.6363 MB / 1.073 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.3742, allocations: 0 / 1.073 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002883/0.3771, allocations: 0.9475 MB / 1.074 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.3772, allocations: 37.7 kB / 1.074 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3772, allocations: 3.984 kB / 1.074 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3773, allocations: 4 kB / 1.074 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.3779, allocations: 67.92 kB / 1.074 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3779, allocations: 4 kB / 1.074 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.3785, allocations: 59.8 kB / 1.074 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.968e-05/0.3786, allocations: 11.92 kB / 1.074 GB, free: 5.387 MB / 0.8262 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.0004867/0.3791, allocations: 195.2 kB / 1.074 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.3792, allocations: 31.62 kB / 1.074 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.3794, allocations: 47.47 kB / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.3794, allocations: 0 / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.3794, allocations: 7.984 kB / 1.074 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3794, allocations: 0 / 1.074 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.3803, allocations: 0.5399 MB / 1.075 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3803, allocations: 3.938 kB / 1.075 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/0.381, allocations: 75.91 kB / 1.075 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.3811, allocations: 3.984 kB / 1.075 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/0.3811, allocations: 11.98 kB / 1.075 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.3811, allocations: 0 / 1.075 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3812, allocations: 3.938 kB / 1.075 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.3836, allocations: 0.7015 MB / 1.076 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.3839, allocations: 160.6 kB / 1.076 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.384, allocations: 11.98 kB / 1.076 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/0.3846, allocations: 59.94 kB / 1.076 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.794e-05/0.3847, allocations: 19.97 kB / 1.076 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.3848, allocations: 7.984 kB / 1.076 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005635/0.3854, allocations: 327 kB / 1.076 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3854, allocations: 3.938 kB / 1.076 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006214/0.386, allocations: 72 kB / 1.076 GB, free: 3.027 MB / 0.8262 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.0003246/0.3864, allocations: 147.1 kB / 1.076 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002701/0.3891, allocations: 0.7979 MB / 1.077 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3891, allocations: 0 / 1.077 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.3903, allocations: 347.7 kB / 1.078 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.391, allocations: 69.45 kB / 1.078 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.3935, allocations: 0.9235 MB / 1.079 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.3941, allocations: 0.8068 MB / 1.079 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007008/0.3948, allocations: 102.2 kB / 1.079 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.395, allocations: 35.41 kB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of SimCode: time 1.011e-06/0.395, allocations: 7.938 kB / 1.079 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of Templates: time 0.01852/0.4136, allocations: 6.626 MB / 1.086 GB, free: 9.18 MB / 0.8419 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=480 -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