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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001607/0.001607, allocations: 104 kB / 16.35 MB, free: 5.824 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.002029/0.002029, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 56.31 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3103, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003653/0.314, allocations: 2.151 MB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.3169, allocations: 1.847 MB / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.3171, allocations: 8 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006992/0.3178, allocations: 226.7 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.318, allocations: 63.36 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3191, allocations: 426.6 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004722/0.3195, allocations: 406.8 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3197, allocations: 40.39 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.3198, allocations: 159.5 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.3201, allocations: 159.4 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.3202, allocations: 28 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.3205, allocations: 239.7 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3207, allocations: 115.7 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.3209, allocations: 167.2 kB / 1.025 GB, free: 3.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.3215, allocations: 0.592 MB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3215, allocations: 0 / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3215, allocations: 0 / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3215, allocations: 0 / 1.025 GB, free: 3.246 MB / 0.795 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.001306/0.3229, allocations: 0.6983 MB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3229, allocations: 12.92 kB / 1.026 GB, free: 2.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.3246, allocations: 172.2 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/0.3253, allocations: 362.3 kB / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.3254, allocations: 75.94 kB / 1.026 GB, free: 1.832 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.3254, allocations: 12.38 kB / 1.026 GB, free: 1.82 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.3265, allocations: 444.2 kB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3265, allocations: 0 / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.3265, allocations: 0 / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3265, allocations: 0 / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.328, allocations: 0.5816 MB / 1.027 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.3299, allocations: 1.035 MB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004809/0.3347, allocations: 0.8494 MB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007064/0.3354, allocations: 316.6 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.3355, allocations: 8 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009403/0.3364, allocations: 452.8 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 3.056e-06/0.3364, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002394/0.3388, allocations: 0.9109 MB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3389, allocations: 59.39 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.3394, allocations: 433.5 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.3395, allocations: 33.69 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3397, allocations: 176 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/0.3397, allocations: 47.36 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.3399, allocations: 53.67 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.34, allocations: 354.7 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008095/0.3408, allocations: 376.6 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008166/0.3416, allocations: 371.7 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.343, allocations: 0.5997 MB / 1.033 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.343, allocations: 3.938 kB / 1.033 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001936/0.345, allocations: 0.8955 MB / 1.034 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/0.345, allocations: 45.69 kB / 1.034 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3451, allocations: 0 / 1.034 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3451, allocations: 0 / 1.034 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.3456, allocations: 63.91 kB / 1.034 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3456, allocations: 0 / 1.034 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.346, allocations: 47.89 kB / 1.034 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.346, allocations: 15.92 kB / 1.034 GB, free: 9.559 MB / 0.8106 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.0002895/0.3463, allocations: 190.4 kB / 1.035 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.3464, allocations: 35.53 kB / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.473e-05/0.3465, allocations: 39.47 kB / 1.035 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3465, allocations: 8 kB / 1.035 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3465, allocations: 0 / 1.035 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3465, allocations: 3.984 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.3471, allocations: 0.5361 MB / 1.035 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3472, allocations: 0 / 1.035 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.3476, allocations: 59.92 kB / 1.035 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.3476, allocations: 7.984 kB / 1.035 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/0.3478, allocations: 15.92 kB / 1.035 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3478, allocations: 7.938 kB / 1.035 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3478, allocations: 0 / 1.035 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.3493, allocations: 0.6625 MB / 1.036 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.3495, allocations: 160.6 kB / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/0.3496, allocations: 11.98 kB / 1.036 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.35, allocations: 47.94 kB / 1.036 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.3501, allocations: 11.98 kB / 1.036 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.3501, allocations: 19.92 kB / 1.036 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003591/0.3505, allocations: 319 kB / 1.036 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3505, allocations: 4 kB / 1.036 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003713/0.3509, allocations: 80.23 kB / 1.037 GB, free: 7.262 MB / 0.8106 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.0003564/0.3513, allocations: 141.2 kB / 1.037 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.3529, allocations: 0.7528 MB / 1.037 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3529, allocations: 4 kB / 1.037 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008603/0.3538, allocations: 331.7 kB / 1.038 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.3542, allocations: 77.42 kB / 1.038 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.3559, allocations: 0.8255 MB / 1.039 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3563, allocations: 0.8141 MB / 1.039 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000356/0.3566, allocations: 98.25 kB / 1.039 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3568, allocations: 35.41 kB / 1.04 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of SimCode: time 9.22e-07/0.3568, allocations: 0 / 1.04 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of Templates: time 0.01291/0.3697, allocations: 7.128 MB / 1.046 GB, free: 13.08 MB / 0.8262 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 gbode -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