Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001306/0.001306, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001359/0.001359, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 469.8 MB / 0.742 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 66.62 kB / 0.908 GB, free: 34.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3271, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003829/0.3309, allocations: 2.193 MB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00302/0.334, allocations: 1.823 MB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3341, allocations: 4 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007457/0.3349, allocations: 219.2 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.335, allocations: 55.55 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3362, allocations: 397.4 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005087/0.3367, allocations: 406.8 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3368, allocations: 40.34 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.337, allocations: 159.6 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.3372, allocations: 159.4 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.3373, allocations: 28 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.3377, allocations: 243.7 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.3378, allocations: 107.7 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.338, allocations: 171.2 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007119/0.3388, allocations: 0.5959 MB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3388, allocations: 4 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3388, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3388, allocations: 0 / 1.07 GB, free: 8.02 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.001304/0.3401, allocations: 0.6983 MB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3401, allocations: 8.031 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.3418, allocations: 164.3 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.3423, allocations: 366.3 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.3425, allocations: 71.95 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.3425, allocations: 12.38 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.3436, allocations: 442.6 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3436, allocations: 7.938 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.3436, allocations: 4 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.3437, allocations: 4 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.3452, allocations: 0.5893 MB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.3472, allocations: 1.023 MB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004896/0.3521, allocations: 0.8533 MB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/0.3529, allocations: 305.9 kB / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3529, allocations: 0 / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.354, allocations: 460.6 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.354, allocations: 0 / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002513/0.3565, allocations: 0.9167 MB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.3566, allocations: 59.41 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.3571, allocations: 433.6 kB / 1.076 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/0.3572, allocations: 33.7 kB / 1.076 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3573, allocations: 172 kB / 1.076 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.47e-05/0.3574, allocations: 47.36 kB / 1.076 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.3575, allocations: 53.67 kB / 1.076 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3577, allocations: 350.7 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008747/0.3586, allocations: 380.6 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008658/0.3595, allocations: 371.8 kB / 1.077 GB, free: 36 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.361, allocations: 0.605 MB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.361, allocations: 0 / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001954/0.363, allocations: 0.9019 MB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/0.363, allocations: 41.69 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.3631, allocations: 0 / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3631, allocations: 4 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.3635, allocations: 63.92 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3636, allocations: 0 / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.3639, allocations: 47.83 kB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/0.364, allocations: 15.92 kB / 1.079 GB, free: 14.33 MB / 0.8419 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.0003195/0.3643, allocations: 185.8 kB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.3644, allocations: 35.53 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-05/0.3645, allocations: 47.45 kB / 1.079 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3645, allocations: 0 / 1.079 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3645, allocations: 0 / 1.079 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3645, allocations: 8 kB / 1.079 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006964/0.3652, allocations: 0.5322 MB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3652, allocations: 0 / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.3657, allocations: 67.84 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3657, allocations: 4 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.3657, allocations: 7.984 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3657, allocations: 8 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3657, allocations: 3.984 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.3674, allocations: 0.6642 MB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.3677, allocations: 168.6 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.3678, allocations: 4 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.3682, allocations: 47.94 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.3683, allocations: 19.97 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.3684, allocations: 11.92 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003894/0.3688, allocations: 327 kB / 1.081 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.2e-07/0.3688, allocations: 3.938 kB / 1.081 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004012/0.3692, allocations: 80.25 kB / 1.081 GB, free: 12.03 MB / 0.8419 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.0003046/0.3695, allocations: 135.1 kB / 1.081 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.3714, allocations: 0.7738 MB / 1.082 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3714, allocations: 0 / 1.082 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008709/0.3723, allocations: 326 kB / 1.082 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.3727, allocations: 77.5 kB / 1.082 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.3745, allocations: 0.8939 MB / 1.083 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.375, allocations: 0.8142 MB / 1.084 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004395/0.3755, allocations: 98.23 kB / 1.084 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.3756, allocations: 35.42 kB / 1.084 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3756, allocations: 0 / 1.084 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of Templates: time 0.01344/0.3891, allocations: 6.939 MB / 1.091 GB, free: 1.957 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches