Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.008743/0.008744, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.001475/0.001475, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.701/2.701, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3703, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004277/0.3746, allocations: 2.137 MB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003367/0.378, allocations: 1.86 MB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.3783, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008604/0.3792, allocations: 226.7 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.3795, allocations: 67.41 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.3808, allocations: 420.1 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.3815, allocations: 414.7 kB / 1.172 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.3817, allocations: 36.38 kB / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.382, allocations: 163.6 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.3823, allocations: 147.5 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.3824, allocations: 28 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.3829, allocations: 247.7 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.3831, allocations: 111.7 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.3834, allocations: 167.1 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009759/0.3844, allocations: 0.5956 MB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3844, allocations: 0 / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3844, allocations: 4 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.3844, allocations: 0 / 1.173 GB, free: 192 kB / 0.92 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.001667/0.3861, allocations: 0.7177 MB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3862, allocations: 8.031 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.3879, allocations: 160.5 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.3885, allocations: 374.5 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.3887, allocations: 71.95 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.3887, allocations: 12.38 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3897, allocations: 439.3 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3898, allocations: 0 / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.3898, allocations: 4 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3898, allocations: 4 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.3914, allocations: 0.5777 MB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.3934, allocations: 1.054 MB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/0.3979, allocations: 0.8456 MB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007033/0.3986, allocations: 304.9 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.3987, allocations: 15.92 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.3997, allocations: 450.9 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.565e-06/0.3997, allocations: 0 / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002533/0.4022, allocations: 0.9212 MB / 1.179 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.4023, allocations: 55.41 kB / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.4029, allocations: 429.6 kB / 1.179 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.4029, allocations: 33.7 kB / 1.179 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.4031, allocations: 176.1 kB / 1.179 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.4032, allocations: 47.59 kB / 1.18 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.4033, allocations: 53.67 kB / 1.18 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.4035, allocations: 350.8 kB / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008929/0.4044, allocations: 384.6 kB / 1.18 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000832/0.4053, allocations: 371.7 kB / 1.181 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.4067, allocations: 0.5936 MB / 1.181 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4067, allocations: 0 / 1.181 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001953/0.4087, allocations: 0.9049 MB / 1.182 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.799e-05/0.4088, allocations: 39.72 kB / 1.182 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4088, allocations: 0 / 1.182 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4088, allocations: 4 kB / 1.182 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.4093, allocations: 67.86 kB / 1.182 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.4093, allocations: 4 kB / 1.182 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.4097, allocations: 39.83 kB / 1.182 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.4098, allocations: 23.91 kB / 1.182 GB, free: 6.469 MB / 0.9356 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.0003114/0.4101, allocations: 188.2 kB / 1.182 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.4102, allocations: 39.75 kB / 1.182 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.724e-05/0.4103, allocations: 39.47 kB / 1.183 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.4103, allocations: 0 / 1.183 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.4103, allocations: 4 kB / 1.183 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4103, allocations: 0 / 1.183 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007391/0.411, allocations: 0.5402 MB / 1.183 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.411, allocations: 0 / 1.183 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.4115, allocations: 75.84 kB / 1.183 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4115, allocations: 0 / 1.183 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.4115, allocations: 7.984 kB / 1.183 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4115, allocations: 0 / 1.183 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4115, allocations: 0 / 1.183 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.4132, allocations: 0.6566 MB / 1.184 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.4135, allocations: 172.7 kB / 1.184 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/0.4136, allocations: 8 kB / 1.184 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.414, allocations: 47.94 kB / 1.184 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4141, allocations: 19.97 kB / 1.184 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.4141, allocations: 7.984 kB / 1.184 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004291/0.4146, allocations: 334.9 kB / 1.184 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4146, allocations: 4 kB / 1.184 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004307/0.415, allocations: 75.94 kB / 1.184 GB, free: 4.18 MB / 0.9356 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.0003927/0.4154, allocations: 143 kB / 1.185 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.4173, allocations: 0.7567 MB / 1.185 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4173, allocations: 0 / 1.185 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.4182, allocations: 328.8 kB / 1.186 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.4186, allocations: 73.5 kB / 1.186 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.4203, allocations: 0.8269 MB / 1.186 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.4208, allocations: 0.8143 MB / 1.187 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003581/0.4211, allocations: 106.2 kB / 1.187 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.4213, allocations: 27.42 kB / 1.187 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of SimCode: time 8.42e-07/0.4213, allocations: 0 / 1.187 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of Templates: time 0.01217/0.4335, allocations: 7.159 MB / 1.194 GB, free: 9.953 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches