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.008837/0.008837, allocations: 104 kB / 15.74 MB, free: 6.02 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.001792/0.001792, allocations: 185.1 kB / 16.67 MB, free: 5.941 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.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.421/2.421, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.005053/1.011, allocations: 2.137 MB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003363/1.014, allocations: 1.857 MB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/1.015, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009477/1.016, allocations: 227.7 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002837/1.016, allocations: 59.42 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/1.017, allocations: 426.3 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006789/1.018, allocations: 406.7 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/1.018, allocations: 47.89 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/1.018, allocations: 151.6 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/1.019, allocations: 159.4 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/1.019, allocations: 28 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/1.019, allocations: 247.7 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/1.02, allocations: 115.7 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002676/1.02, allocations: 159.2 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/1.021, allocations: 0.6034 MB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.021, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.495e-06/1.021, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.929e-05/1.021, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 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.001646/1.023, allocations: 0.7136 MB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.023, allocations: 8.922 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/1.024, allocations: 160.5 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/1.025, allocations: 374.5 kB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/1.025, allocations: 75.95 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/1.025, allocations: 12.31 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/1.026, allocations: 437.4 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.026, allocations: 0 / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/1.026, allocations: 8 kB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.026, allocations: 0 / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/1.028, allocations: 0.5855 MB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/1.03, allocations: 1.046 MB / 1.176 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/1.034, allocations: 0.8495 MB / 1.177 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007349/1.035, allocations: 304.7 kB / 1.177 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/1.035, allocations: 0 / 1.177 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/1.036, allocations: 451 kB / 1.178 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 5.992e-06/1.036, allocations: 3.984 kB / 1.178 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002543/1.039, allocations: 0.9187 MB / 1.179 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.039, allocations: 55.41 kB / 1.179 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/1.039, allocations: 433.6 kB / 1.179 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/1.039, allocations: 33.7 kB / 1.179 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/1.04, allocations: 164.1 kB / 1.179 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/1.04, allocations: 63.45 kB / 1.18 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/1.04, allocations: 53.67 kB / 1.18 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.04, allocations: 350.7 kB / 1.18 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009344/1.041, allocations: 384.6 kB / 1.18 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008587/1.042, allocations: 371.7 kB / 1.181 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/1.043, allocations: 0.5944 MB / 1.181 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.043, allocations: 4 kB / 1.181 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001987/1.045, allocations: 0.901 MB / 1.182 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/1.045, allocations: 45.69 kB / 1.182 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.045, allocations: 4 kB / 1.182 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.045, allocations: 0 / 1.182 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/1.046, allocations: 63.86 kB / 1.182 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/1.046, allocations: 0 / 1.182 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/1.046, allocations: 47.89 kB / 1.182 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/1.046, allocations: 11.92 kB / 1.182 GB, free: 3.488 MB / 0.9044 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.0002565/1.047, allocations: 186.3 kB / 1.182 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/1.047, allocations: 39.77 kB / 1.182 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.512e-05/1.047, allocations: 43.45 kB / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.047, allocations: 0 / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/1.047, allocations: 8 kB / 1.183 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.047, allocations: 0 / 1.183 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006804/1.048, allocations: 0.5363 MB / 1.183 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.048, allocations: 3.984 kB / 1.183 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/1.048, allocations: 63.86 kB / 1.183 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/1.048, allocations: 4 kB / 1.183 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/1.048, allocations: 15.92 kB / 1.183 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.048, allocations: 4 kB / 1.183 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.048, allocations: 0 / 1.183 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/1.05, allocations: 0.6588 MB / 1.184 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/1.05, allocations: 168.8 kB / 1.184 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/1.05, allocations: 4 kB / 1.184 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/1.051, allocations: 47.94 kB / 1.184 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/1.051, allocations: 23.91 kB / 1.184 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/1.051, allocations: 7.984 kB / 1.184 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003827/1.051, allocations: 327 kB / 1.184 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.051, allocations: 0 / 1.184 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004017/1.051, allocations: 79.94 kB / 1.184 GB, free: 1.199 MB / 0.9044 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.0003284/1.052, allocations: 132.4 kB / 1.185 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00182/1.054, allocations: 0.7667 MB / 1.185 GB, free: 284 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/1.054, allocations: 4 kB / 1.185 GB, free: 280 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008326/1.054, allocations: 319.8 kB / 1.186 GB, free: 15.96 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/1.055, allocations: 83.66 kB / 1.186 GB, free: 15.88 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/1.057, allocations: 0.8271 MB / 1.186 GB, free: 15.03 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/1.057, allocations: 0.8143 MB / 1.187 GB, free: 14.19 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003673/1.058, allocations: 98.25 kB / 1.187 GB, free: 14.09 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/1.058, allocations: 31.41 kB / 1.187 GB, free: 14.06 MB / 0.92 GB Notification: Performance of SimCode: time 5.82e-07/1.058, allocations: 0 / 1.187 GB, free: 14.06 MB / 0.92 GB Notification: Performance of Templates: time 0.01385/1.072, allocations: 7.163 MB / 1.194 GB, free: 6.969 MB / 0.92 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