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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.602/1.602, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.923/2.923, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.75e-05/3.94e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.005254/0.005294, allocations: 2.072 MB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.009357, allocations: 1.756 MB / 0.7901 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.009583, allocations: 3.438 kB / 0.7901 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008554/0.01044, allocations: 190.8 kB / 0.7903 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.0107, allocations: 71.3 kB / 0.7904 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.01212, allocations: 430.4 kB / 0.7908 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008357/0.01296, allocations: 415.2 kB / 0.7912 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.01307, allocations: 20.58 kB / 0.7912 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.01353, allocations: 208.4 kB / 0.7914 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.01377, allocations: 131.7 kB / 0.7915 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.01383, allocations: 24.97 kB / 0.7915 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005711/0.0144, allocations: 263.5 kB / 0.7918 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.01456, allocations: 120.7 kB / 0.7919 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.01475, allocations: 115.7 kB / 0.792 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009731/0.01572, allocations: 0.6427 MB / 0.7926 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.01573, allocations: 1.344 kB / 0.7926 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.984e-06/0.01573, allocations: 0 / 0.7926 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.01574, allocations: 0 / 0.7926 GB, free: 6.398 MB / 0.7448 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.001481/0.01722, allocations: 0.6407 MB / 0.7933 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.01727, allocations: 12.03 kB / 0.7933 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.01904, allocations: 174.5 kB / 0.7934 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005703/0.01961, allocations: 308.6 kB / 0.7937 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005079/0.02012, allocations: 132.7 kB / 0.7939 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.02017, allocations: 4.375 kB / 0.7939 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.02132, allocations: 424.1 kB / 0.7943 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.02134, allocations: 192 / 0.7943 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.02138, allocations: 10.34 kB / 0.7943 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.02139, allocations: 4 kB / 0.7943 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.02313, allocations: 0.5767 MB / 0.7949 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.02542, allocations: 0.8972 MB / 0.7957 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00521/0.03063, allocations: 0.8481 MB / 0.7966 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008302/0.03146, allocations: 300.6 kB / 0.7968 GB, free: 2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.0315, allocations: 4 kB / 0.7968 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.03263, allocations: 422 kB / 0.7973 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.03263, allocations: 0 / 0.7973 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.002938/0.03557, allocations: 0.9342 MB / 0.7982 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.03565, allocations: 59.39 kB / 0.7982 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.03642, allocations: 425.6 kB / 0.7986 GB, free: 144 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.656e-05/0.03651, allocations: 37.69 kB / 0.7987 GB, free: 100 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.03674, allocations: 172.1 kB / 0.7988 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/0.03683, allocations: 51.48 kB / 0.7989 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.03699, allocations: 53.67 kB / 0.7989 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.03722, allocations: 354.8 kB / 0.7993 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.03828, allocations: 397.4 kB / 0.7996 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009917/0.03928, allocations: 397.4 kB / 0.8 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.04096, allocations: 0.5981 MB / 0.8006 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.04097, allocations: 3.938 kB / 0.8006 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002696/0.04367, allocations: 0.9339 MB / 0.8015 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/0.04374, allocations: 45.69 kB / 0.8016 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.04375, allocations: 4 kB / 0.8016 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.04378, allocations: 0 / 0.8016 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.04427, allocations: 63.91 kB / 0.8016 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.04428, allocations: 0 / 0.8016 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.04476, allocations: 51.84 kB / 0.8017 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.04482, allocations: 19.91 kB / 0.8017 GB, free: 12.92 MB / 0.7605 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.000377/0.0452, allocations: 195.3 kB / 0.8019 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.04537, allocations: 39.77 kB / 0.8019 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.04548, allocations: 39.41 kB / 0.802 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.04549, allocations: 4 kB / 0.802 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.0455, allocations: 0 / 0.802 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.0455, allocations: 7.984 kB / 0.802 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/0.04621, allocations: 417.1 kB / 0.8024 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.04622, allocations: 3.938 kB / 0.8024 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.0467, allocations: 67.86 kB / 0.8024 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.04671, allocations: 3.938 kB / 0.8024 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.04675, allocations: 11.98 kB / 0.8025 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.04675, allocations: 7.984 kB / 0.8025 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.04675, allocations: 0 / 0.8025 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.04866, allocations: 0.6606 MB / 0.8031 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.04892, allocations: 95.64 kB / 0.8032 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.109e-05/0.049, allocations: 8 kB / 0.8032 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.04947, allocations: 39.94 kB / 0.8032 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.04959, allocations: 23.97 kB / 0.8033 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.04963, allocations: 7.984 kB / 0.8033 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004978/0.05012, allocations: 323.1 kB / 0.8036 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.05012, allocations: 0 / 0.8036 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004798/0.0506, allocations: 87.92 kB / 0.8037 GB, free: 10.84 MB / 0.7605 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.0003641/0.05097, allocations: 131.1 kB / 0.8038 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002075/0.05304, allocations: 0.7887 MB / 0.8046 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.05305, allocations: 0 / 0.8046 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008869/0.05393, allocations: 311.8 kB / 0.8049 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.05449, allocations: 105.3 kB / 0.805 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.05662, allocations: 0.8066 MB / 0.8057 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.0569, allocations: 206.1 kB / 0.8059 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003931/0.05729, allocations: 98.25 kB / 0.806 GB, free: 8.348 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.05746, allocations: 40.47 kB / 0.8061 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of SimCode: time 9.02e-07/0.05746, allocations: 0 / 0.8061 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of Templates: time 0.01838/0.07584, allocations: 7.594 MB / 0.8135 GB, free: 0.8281 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.702445431030355]