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.001014/0.001014, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007872/0.007872, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.467/1.467, 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 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 8 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7567/0.757, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003652/0.7607, allocations: 1.854 MB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004343/0.7651, allocations: 1.812 MB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.7654, allocations: 4 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.7665, allocations: 212.9 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.7668, allocations: 55.55 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.7683, allocations: 379.9 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007312/0.769, allocations: 392.2 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.7692, allocations: 40.33 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.7695, allocations: 135.6 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.7698, allocations: 159.4 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.332e-05/0.7699, allocations: 16 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005663/0.7705, allocations: 215.7 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.7707, allocations: 111.7 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.7711, allocations: 180.9 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.7721, allocations: 0.5724 MB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7721, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7721, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.7722, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 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.001576/0.7737, allocations: 0.6518 MB / 1.03 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.7738, allocations: 12.03 kB / 1.03 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.7759, allocations: 168.3 kB / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/0.7765, allocations: 362.3 kB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.7766, allocations: 79.94 kB / 1.03 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.7767, allocations: 8.375 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.7778, allocations: 461.4 kB / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.7778, allocations: 0 / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.7779, allocations: 8 kB / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.7779, allocations: 0 / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.7795, allocations: 0.6245 MB / 1.031 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.7815, allocations: 1.051 MB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/0.7867, allocations: 0.9158 MB / 1.033 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008092/0.7875, allocations: 328.6 kB / 1.034 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.7875, allocations: 8.25 kB / 1.034 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.7886, allocations: 451 kB / 1.034 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.807e-06/0.7886, allocations: 7.984 kB / 1.034 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002611/0.7912, allocations: 0.9869 MB / 1.035 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.7912, allocations: 51.41 kB / 1.035 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.7917, allocations: 433.6 kB / 1.035 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/0.7918, allocations: 33.7 kB / 1.035 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.7919, allocations: 172.1 kB / 1.036 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.792, allocations: 55.28 kB / 1.036 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.7921, allocations: 25.72 kB / 1.036 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7922, allocations: 346.7 kB / 1.036 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009324/0.7932, allocations: 408.5 kB / 1.036 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008715/0.7941, allocations: 387.8 kB / 1.037 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.7957, allocations: 0.6445 MB / 1.037 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7957, allocations: 0 / 1.037 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002044/0.7977, allocations: 0.9421 MB / 1.038 GB, free: 15.9 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.7978, allocations: 41.69 kB / 1.038 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.7978, allocations: 0 / 1.038 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.7978, allocations: 0 / 1.038 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.7983, allocations: 79.86 kB / 1.038 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.7983, allocations: 3.938 kB / 1.038 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.7988, allocations: 51.95 kB / 1.038 GB, free: 15.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.7988, allocations: 19.91 kB / 1.038 GB, free: 15.7 MB / 0.795 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.0002383/0.7991, allocations: 182.3 kB / 1.039 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.7991, allocations: 43.52 kB / 1.039 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.7992, allocations: 39.47 kB / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7992, allocations: 4 kB / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7992, allocations: 0 / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7992, allocations: 0 / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.7998, allocations: 0.5477 MB / 1.039 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7998, allocations: 0 / 1.039 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.8003, allocations: 79.86 kB / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.8003, allocations: 0 / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.8003, allocations: 7.984 kB / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8003, allocations: 0 / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8003, allocations: 4 kB / 1.039 GB, free: 14.74 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.8021, allocations: 0.7053 MB / 1.04 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.8023, allocations: 164.7 kB / 1.04 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.8024, allocations: 8 kB / 1.04 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.8029, allocations: 59.94 kB / 1.04 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.803, allocations: 19.97 kB / 1.04 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.803, allocations: 11.98 kB / 1.04 GB, free: 13.74 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003386/0.8033, allocations: 323 kB / 1.041 GB, free: 13.43 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8033, allocations: 0 / 1.041 GB, free: 13.43 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003622/0.8037, allocations: 76 kB / 1.041 GB, free: 13.35 MB / 0.795 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.0002632/0.804, allocations: 143.1 kB / 1.041 GB, free: 13.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.8059, allocations: 0.7996 MB / 1.042 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8059, allocations: 0 / 1.042 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008539/0.8067, allocations: 343.8 kB / 1.042 GB, free: 12.05 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.8072, allocations: 81.38 kB / 1.042 GB, free: 11.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.809, allocations: 0.9169 MB / 1.043 GB, free: 11.04 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.8094, allocations: 0.8143 MB / 1.044 GB, free: 10.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004248/0.8099, allocations: 98.25 kB / 1.044 GB, free: 10.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.81, allocations: 27.42 kB / 1.044 GB, free: 10.07 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.81, allocations: 0 / 1.044 GB, free: 10.07 MB / 0.795 GB Notification: Performance of Templates: time 0.01179/0.8218, allocations: 6.659 MB / 1.05 GB, free: 3.492 MB / 0.795 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