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.00133/0.00133, allocations: 100.5 kB / 16.39 MB, free: 6.379 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.001263/0.001264, allocations: 192.5 kB / 17.33 MB, free: 5.848 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.514/1.514, allocations: 222.9 MB / 241 MB, free: 15.21 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.784/2.784, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 64.14 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9802/0.9821, allocations: 151.6 MB / 1.167 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004361/0.9865, allocations: 2.141 MB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003824/0.9904, allocations: 1.87 MB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.9907, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.9919, allocations: 223.7 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.9921, allocations: 71.36 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.9936, allocations: 402.8 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006884/0.9943, allocations: 414.7 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.9945, allocations: 47.88 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.9947, allocations: 147.6 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.995, allocations: 171.3 kB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.796e-05/0.9951, allocations: 24 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006138/0.9957, allocations: 247.6 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.9959, allocations: 111.7 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.9962, allocations: 167.2 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009843/0.9972, allocations: 0.5917 MB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.9972, allocations: 4 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.767e-06/0.9972, allocations: 0 / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.9972, allocations: 0 / 1.174 GB, free: 13.31 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.001677/0.9989, allocations: 0.7158 MB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.916e-05/0.999, allocations: 8.922 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/1.001, allocations: 164.5 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/1.001, allocations: 370.6 kB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/1.002, allocations: 71.95 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/1.002, allocations: 8.375 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/1.003, allocations: 441.4 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.003, allocations: 0 / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/1.003, allocations: 0 / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/1.003, allocations: 4 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/1.004, allocations: 0.5932 MB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/1.007, allocations: 1.05 MB / 1.177 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/1.011, allocations: 0.8417 MB / 1.178 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007771/1.012, allocations: 316.6 kB / 1.178 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/1.012, allocations: 0 / 1.178 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/1.013, allocations: 439 kB / 1.179 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/1.013, allocations: 0 / 1.179 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002694/1.016, allocations: 0.9204 MB / 1.179 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/1.016, allocations: 59.34 kB / 1.18 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/1.017, allocations: 437.6 kB / 1.18 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/1.017, allocations: 25.7 kB / 1.18 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/1.017, allocations: 172.1 kB / 1.18 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/1.017, allocations: 59.52 kB / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/1.017, allocations: 53.67 kB / 1.18 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001953/1.017, allocations: 354.7 kB / 1.181 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009069/1.018, allocations: 376.6 kB / 1.181 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009095/1.019, allocations: 370.1 kB / 1.181 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/1.021, allocations: 0.5958 MB / 1.182 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.021, allocations: 0 / 1.182 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002142/1.023, allocations: 0.9149 MB / 1.183 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.239e-05/1.023, allocations: 41.69 kB / 1.183 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.023, allocations: 4 kB / 1.183 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.023, allocations: 3.938 kB / 1.183 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/1.023, allocations: 59.92 kB / 1.183 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.023, allocations: 8 kB / 1.183 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/1.024, allocations: 39.89 kB / 1.183 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/1.024, allocations: 19.91 kB / 1.183 GB, free: 3.59 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.0003271/1.024, allocations: 185.7 kB / 1.183 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/1.024, allocations: 39.77 kB / 1.183 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.427e-05/1.024, allocations: 47.45 kB / 1.183 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.025, allocations: 3.984 kB / 1.183 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.025, allocations: 0 / 1.183 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/1.025, allocations: 0 / 1.183 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/1.025, allocations: 0.5402 MB / 1.184 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.025, allocations: 4 kB / 1.184 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/1.026, allocations: 59.92 kB / 1.184 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.026, allocations: 0 / 1.184 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/1.026, allocations: 11.98 kB / 1.184 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.026, allocations: 0 / 1.184 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.026, allocations: 4 kB / 1.184 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/1.028, allocations: 0.6605 MB / 1.184 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/1.028, allocations: 164.8 kB / 1.185 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/1.028, allocations: 8 kB / 1.185 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/1.028, allocations: 43.94 kB / 1.185 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/1.028, allocations: 19.97 kB / 1.185 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/1.029, allocations: 11.98 kB / 1.185 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004766/1.029, allocations: 323 kB / 1.185 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.029, allocations: 3.938 kB / 1.185 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004249/1.029, allocations: 79.94 kB / 1.185 GB, free: 1.309 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.0003313/1.03, allocations: 135.1 kB / 1.185 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002001/1.032, allocations: 0.7644 MB / 1.186 GB, free: 396 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.032, allocations: 4 kB / 1.186 GB, free: 392 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008783/1.033, allocations: 319.7 kB / 1.186 GB, free: 72 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/1.033, allocations: 85.45 kB / 1.186 GB, free: 15.98 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/1.035, allocations: 0.831 MB / 1.187 GB, free: 15.13 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/1.036, allocations: 0.8143 MB / 1.188 GB, free: 14.29 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003774/1.036, allocations: 102.2 kB / 1.188 GB, free: 14.19 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/1.036, allocations: 35.42 kB / 1.188 GB, free: 14.15 MB / 0.92 GB Notification: Performance of SimCode: time 5.41e-07/1.036, allocations: 0 / 1.188 GB, free: 14.15 MB / 0.92 GB Notification: Performance of Templates: time 0.01681/1.053, allocations: 7.173 MB / 1.195 GB, free: 7.051 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 -s cvode -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/jenkins1/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