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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00123/0.00123, allocations: 115.8 kB / 16.37 MB, free: 6 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.001341/0.001341, allocations: 193.3 kB / 17.31 MB, free: 5.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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.459/2.459, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 55.31 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3349, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003261/0.3382, allocations: 2.16 MB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.3406, allocations: 1.835 MB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.3407, allocations: 4 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.3414, allocations: 234.6 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3415, allocations: 71.34 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009335/0.3424, allocations: 412.7 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.3429, allocations: 410.7 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.343, allocations: 44.36 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.3431, allocations: 155.6 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.3433, allocations: 155.4 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.3434, allocations: 28 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.3437, allocations: 239.7 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.3439, allocations: 115.7 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.344, allocations: 167.1 kB / 1.033 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000536/0.3446, allocations: 0.5921 MB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3446, allocations: 0 / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3446, allocations: 0 / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3446, allocations: 3.938 kB / 1.033 GB, free: 11.45 MB / 0.8106 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.001068/0.3457, allocations: 0.7022 MB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3457, allocations: 16.03 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.3473, allocations: 164.2 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.3477, allocations: 366.3 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.775e-05/0.3478, allocations: 71.95 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.3479, allocations: 8.375 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/0.3488, allocations: 443.9 kB / 1.035 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3488, allocations: 0 / 1.035 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.3489, allocations: 8 kB / 1.035 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.3489, allocations: 0 / 1.035 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.3502, allocations: 0.5854 MB / 1.035 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.3519, allocations: 1.035 MB / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004579/0.3565, allocations: 0.8494 MB / 1.037 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006683/0.3572, allocations: 304.7 kB / 1.038 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.3572, allocations: 0 / 1.038 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009375/0.3582, allocations: 455 kB / 1.038 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.3582, allocations: 0 / 1.038 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002281/0.3605, allocations: 0.9178 MB / 1.039 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.3605, allocations: 55.41 kB / 1.039 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.361, allocations: 437.5 kB / 1.039 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.3611, allocations: 33.7 kB / 1.039 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3612, allocations: 172 kB / 1.04 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.3613, allocations: 47.36 kB / 1.04 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.3614, allocations: 53.67 kB / 1.04 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3616, allocations: 346.8 kB / 1.04 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007841/0.3624, allocations: 384.6 kB / 1.04 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007318/0.3631, allocations: 371.7 kB / 1.041 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.3644, allocations: 0.5982 MB / 1.041 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3644, allocations: 0 / 1.041 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001809/0.3663, allocations: 0.9045 MB / 1.042 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/0.3663, allocations: 41.69 kB / 1.042 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3663, allocations: 0 / 1.042 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.3664, allocations: 0 / 1.042 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.3668, allocations: 67.92 kB / 1.042 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3668, allocations: 0 / 1.042 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.3672, allocations: 43.89 kB / 1.042 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.3673, allocations: 27.89 kB / 1.042 GB, free: 1.758 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.0002606/0.3675, allocations: 189.7 kB / 1.043 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.3676, allocations: 39.52 kB / 1.043 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.3677, allocations: 39.47 kB / 1.043 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3677, allocations: 4 kB / 1.043 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3677, allocations: 0 / 1.043 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3677, allocations: 0 / 1.043 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.3683, allocations: 0.5477 MB / 1.043 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3684, allocations: 3.938 kB / 1.043 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.3688, allocations: 63.92 kB / 1.043 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3688, allocations: 0 / 1.043 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.3688, allocations: 7.984 kB / 1.043 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.3688, allocations: 0 / 1.043 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3688, allocations: 4 kB / 1.043 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.3704, allocations: 0.6641 MB / 1.044 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.3707, allocations: 164.8 kB / 1.044 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.3708, allocations: 8 kB / 1.044 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.3712, allocations: 43.94 kB / 1.044 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.3713, allocations: 23.97 kB / 1.044 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.3713, allocations: 11.98 kB / 1.044 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003688/0.3717, allocations: 323 kB / 1.044 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3717, allocations: 0 / 1.044 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004243/0.3721, allocations: 80.25 kB / 1.045 GB, free: 15.46 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.000311/0.3725, allocations: 135.2 kB / 1.045 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.3741, allocations: 0.7528 MB / 1.045 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3741, allocations: 0 / 1.045 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007846/0.3749, allocations: 331.2 kB / 1.046 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.3754, allocations: 86.55 kB / 1.046 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.3773, allocations: 0.8273 MB / 1.047 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.3778, allocations: 0.8104 MB / 1.047 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003694/0.3782, allocations: 98.25 kB / 1.047 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3783, allocations: 31.42 kB / 1.047 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3783, allocations: 4 kB / 1.047 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.07357/0.4519, allocations: 7.132 MB / 1.054 GB, free: 5.266 MB / 0.8262 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 -s gbode -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/jenkins1/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