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.001204/0.001204, allocations: 98.19 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.009036/0.009036, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 462.7 MB / 0.7364 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005316, allocations: 15.64 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3829, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002445/0.3853, allocations: 1.845 MB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.3879, allocations: 1.827 MB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.388, allocations: 0 / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000635/0.3886, allocations: 219.2 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.3888, allocations: 59.55 kB / 1.063 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.3897, allocations: 377.2 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.3901, allocations: 382.8 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.979e-05/0.3902, allocations: 40.38 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3904, allocations: 143.5 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.3905, allocations: 147.4 kB / 1.064 GB, free: 492 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.3906, allocations: 20 kB / 1.064 GB, free: 472 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.3909, allocations: 219.7 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3911, allocations: 107.7 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.3913, allocations: 180.9 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005852/0.3919, allocations: 0.5723 MB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3919, allocations: 4 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3919, allocations: 0 / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3919, allocations: 0 / 1.065 GB, free: 15.38 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.001071/0.393, allocations: 0.6479 MB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3931, allocations: 12.02 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.3948, allocations: 172.3 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.3953, allocations: 362.3 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.3954, allocations: 75.94 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.3954, allocations: 8.375 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.3965, allocations: 469.3 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3965, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.3965, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3965, allocations: 7.938 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.3982, allocations: 0.6222 MB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.4, allocations: 1.047 MB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/0.4051, allocations: 0.9119 MB / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/0.4059, allocations: 336.6 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.406, allocations: 4 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.407, allocations: 467 kB / 1.07 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.407, allocations: 0 / 1.07 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002566/0.4096, allocations: 0.9794 MB / 1.071 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.4096, allocations: 59.41 kB / 1.071 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.4101, allocations: 433.6 kB / 1.071 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.4101, allocations: 33.7 kB / 1.071 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.4103, allocations: 172 kB / 1.071 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.4103, allocations: 51.34 kB / 1.071 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.4104, allocations: 21.7 kB / 1.071 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4105, allocations: 350.8 kB / 1.072 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009271/0.4115, allocations: 400.6 kB / 1.072 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008606/0.4123, allocations: 395.6 kB / 1.072 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.4139, allocations: 0.6364 MB / 1.073 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4139, allocations: 0 / 1.073 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00206/0.416, allocations: 0.9454 MB / 1.074 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.416, allocations: 41.69 kB / 1.074 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4161, allocations: 4 kB / 1.074 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4161, allocations: 4 kB / 1.074 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.4166, allocations: 67.92 kB / 1.074 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4166, allocations: 4 kB / 1.074 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.417, allocations: 59.78 kB / 1.074 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.4171, allocations: 15.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.000269/0.4174, allocations: 197.7 kB / 1.074 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.4174, allocations: 31.62 kB / 1.074 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.181e-05/0.4175, allocations: 39.47 kB / 1.074 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.4175, allocations: 4 kB / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.4175, allocations: 0 / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4175, allocations: 3.938 kB / 1.074 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.4181, allocations: 0.5438 MB / 1.075 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4181, allocations: 0 / 1.075 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/0.4186, allocations: 71.92 kB / 1.075 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4186, allocations: 3.938 kB / 1.075 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.4186, allocations: 11.98 kB / 1.075 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4187, allocations: 0 / 1.075 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4187, allocations: 4 kB / 1.075 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.4204, allocations: 0.6955 MB / 1.076 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.4206, allocations: 168.6 kB / 1.076 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.4206, allocations: 4 kB / 1.076 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.4211, allocations: 59.94 kB / 1.076 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.4212, allocations: 19.97 kB / 1.076 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.4213, allocations: 7.984 kB / 1.076 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000375/0.4216, allocations: 327 kB / 1.076 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4216, allocations: 3.938 kB / 1.076 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003814/0.422, allocations: 83.98 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.0003004/0.4223, allocations: 131.4 kB / 1.076 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.4242, allocations: 0.8019 MB / 1.077 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4242, allocations: 0 / 1.077 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008631/0.4251, allocations: 351.7 kB / 1.078 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.4256, allocations: 61.52 kB / 1.078 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.4273, allocations: 0.9246 MB / 1.079 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.4278, allocations: 0.8146 MB / 1.079 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004159/0.4282, allocations: 106.2 kB / 1.079 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.4283, allocations: 35.41 kB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.4283, allocations: 0 / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.01131/0.4397, allocations: 6.637 MB / 1.086 GB, free: 9.184 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