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.001775/0.001776, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001395/0.001395, allocations: 195.3 kB / 16.14 MB, free: 6.645 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.049/3.049, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 71.39 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3382, allocations: 157.4 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004176/0.3425, allocations: 2.199 MB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.3452, allocations: 1.858 MB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.3453, allocations: 7.938 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007068/0.346, allocations: 223.1 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.3461, allocations: 51.55 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009484/0.3471, allocations: 372.5 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.3475, allocations: 386.8 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3476, allocations: 44.36 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.3478, allocations: 135.6 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.348, allocations: 159.3 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.348, allocations: 24 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.3484, allocations: 219.7 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3485, allocations: 111.7 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.3487, allocations: 159.2 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.3493, allocations: 0.5725 MB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3493, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3493, allocations: 4 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3493, allocations: 0 / 1.058 GB, free: 2.332 MB / 0.8106 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.001227/0.3506, allocations: 0.7023 MB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3506, allocations: 8.031 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.3524, allocations: 168.2 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.3529, allocations: 370.3 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.661e-05/0.353, allocations: 71.95 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.353, allocations: 16.36 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.3541, allocations: 435 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3541, allocations: 0 / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.3541, allocations: 7.922 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3542, allocations: 4 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.3557, allocations: 0.5816 MB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.3575, allocations: 1.035 MB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005048/0.3626, allocations: 0.8456 MB / 1.063 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/0.3634, allocations: 316.6 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.3634, allocations: 3.906 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009535/0.3644, allocations: 442.9 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 3.166e-06/0.3644, allocations: 0 / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002328/0.3667, allocations: 0.9133 MB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3668, allocations: 59.41 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/0.3673, allocations: 437.5 kB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.3673, allocations: 29.7 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.3675, allocations: 180 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.3676, allocations: 51.36 kB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3677, allocations: 49.67 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3679, allocations: 350.8 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008149/0.3687, allocations: 388.6 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009324/0.3696, allocations: 367.7 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.371, allocations: 0.6013 MB / 1.067 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.371, allocations: 3.938 kB / 1.067 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001953/0.373, allocations: 0.8988 MB / 1.067 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.373, allocations: 41.69 kB / 1.068 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.373, allocations: 0 / 1.068 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3731, allocations: 7.938 kB / 1.068 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.3735, allocations: 59.92 kB / 1.068 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3735, allocations: 7.984 kB / 1.068 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.3739, allocations: 39.89 kB / 1.068 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.374, allocations: 15.92 kB / 1.068 GB, free: 8.645 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.0002479/0.3742, allocations: 199.3 kB / 1.068 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.3743, allocations: 39.47 kB / 1.068 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.3744, allocations: 39.47 kB / 1.068 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3744, allocations: 0 / 1.068 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3744, allocations: 0 / 1.068 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3744, allocations: 0 / 1.068 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.375, allocations: 0.54 MB / 1.068 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.375, allocations: 3.938 kB / 1.068 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.3754, allocations: 67.92 kB / 1.068 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3755, allocations: 0 / 1.068 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.3755, allocations: 7.984 kB / 1.068 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3755, allocations: 0 / 1.068 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3755, allocations: 0 / 1.068 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.3773, allocations: 0.6641 MB / 1.069 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.3775, allocations: 168.6 kB / 1.069 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.3776, allocations: 8 kB / 1.069 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.378, allocations: 43.94 kB / 1.069 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.3781, allocations: 19.97 kB / 1.069 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.3781, allocations: 11.98 kB / 1.069 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003553/0.3785, allocations: 327 kB / 1.07 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3785, allocations: 0 / 1.07 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003806/0.3789, allocations: 79.98 kB / 1.07 GB, free: 6.348 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.0002629/0.3791, allocations: 131.5 kB / 1.07 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.3811, allocations: 0.7606 MB / 1.071 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3811, allocations: 0 / 1.071 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007836/0.3819, allocations: 330.1 kB / 1.071 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.3823, allocations: 78.3 kB / 1.071 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.3841, allocations: 0.8916 MB / 1.072 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3845, allocations: 0.8146 MB / 1.073 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004232/0.3849, allocations: 94.25 kB / 1.073 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.3851, allocations: 43.34 kB / 1.073 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.3851, allocations: 3.938 kB / 1.073 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of Templates: time 0.01218/0.3972, allocations: 6.714 MB / 1.079 GB, free: 12.5 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