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.001799/0.001799, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002178/0.002178, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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.568/1.568, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 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.904/2.904, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 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 2.274e-06/2.274e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.508e-05/4.735e-05, allocations: 6.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004708/0.004755, allocations: 2.071 MB / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003902/0.008657, allocations: 1.752 MB / 0.9547 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.008916, allocations: 7.938 kB / 0.9547 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.009928, allocations: 202.7 kB / 0.9549 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.01023, allocations: 71.3 kB / 0.955 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.01175, allocations: 416.4 kB / 0.9554 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008172/0.01257, allocations: 418.6 kB / 0.9558 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.01271, allocations: 20.58 kB / 0.9558 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.01318, allocations: 203.6 kB / 0.956 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.01349, allocations: 143.6 kB / 0.9561 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.01359, allocations: 24 kB / 0.9561 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006343/0.01423, allocations: 255.5 kB / 0.9564 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.01443, allocations: 119.6 kB / 0.9565 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.01468, allocations: 111.7 kB / 0.9566 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.0158, allocations: 0.6427 MB / 0.9572 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.0158, allocations: 0 / 0.9572 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.01581, allocations: 4 kB / 0.9572 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.01582, allocations: 0 / 0.9572 GB, free: 5.102 MB / 0.8575 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.001745/0.01757, allocations: 0.6305 MB / 0.9579 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.01763, allocations: 16.02 kB / 0.9579 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/0.01954, allocations: 172.5 kB / 0.958 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.02021, allocations: 308 kB / 0.9583 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.0204, allocations: 131.3 kB / 0.9585 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.02045, allocations: 4.375 kB / 0.9585 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.0217, allocations: 420.6 kB / 0.9589 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.02171, allocations: 192 / 0.9589 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.02176, allocations: 16.09 kB / 0.9589 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.02177, allocations: 7.938 kB / 0.9589 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.02368, allocations: 0.5777 MB / 0.9594 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.02601, allocations: 0.9058 MB / 0.9603 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005267/0.03128, allocations: 0.8376 MB / 0.9611 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008641/0.03214, allocations: 296.7 kB / 0.9614 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.03217, allocations: 8 kB / 0.9614 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.03337, allocations: 433.9 kB / 0.9619 GB, free: 240 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.145e-06/0.03337, allocations: 0 / 0.9619 GB, free: 240 kB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002979/0.03635, allocations: 0.911 MB / 0.9627 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.03641, allocations: 59.41 kB / 0.9628 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/0.03713, allocations: 441.6 kB / 0.9632 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-05/0.03722, allocations: 25.7 kB / 0.9632 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.03746, allocations: 176.1 kB / 0.9634 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.373e-05/0.03755, allocations: 47.59 kB / 0.9635 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.03775, allocations: 53.67 kB / 0.9635 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000263/0.03801, allocations: 346.8 kB / 0.9638 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.03906, allocations: 397.4 kB / 0.9642 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009773/0.04004, allocations: 401.4 kB / 0.9646 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.04182, allocations: 0.6054 MB / 0.9652 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.04182, allocations: 3.938 kB / 0.9652 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002377/0.0442, allocations: 0.9339 MB / 0.9661 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/0.04429, allocations: 37.69 kB / 0.9661 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.0443, allocations: 3.828 kB / 0.9661 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.04433, allocations: 0 / 0.9661 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.04485, allocations: 67.92 kB / 0.9662 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.04486, allocations: 0 / 0.9662 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.04534, allocations: 39.91 kB / 0.9663 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.0454, allocations: 19.97 kB / 0.9663 GB, free: 11.61 MB / 0.8731 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.0003729/0.04577, allocations: 193.7 kB / 0.9665 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.0459, allocations: 39.75 kB / 0.9665 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.04601, allocations: 35.41 kB / 0.9665 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.04601, allocations: 4 kB / 0.9665 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.04602, allocations: 0 / 0.9665 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.04602, allocations: 0 / 0.9665 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.04668, allocations: 440.6 kB / 0.9669 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.04669, allocations: 7.875 kB / 0.967 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.04718, allocations: 63.92 kB / 0.967 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.04718, allocations: 0 / 0.967 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.04722, allocations: 11.98 kB / 0.967 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.04722, allocations: 3.938 kB / 0.967 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.04723, allocations: 4 kB / 0.967 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.04917, allocations: 0.649 MB / 0.9677 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.0494, allocations: 95.56 kB / 0.9678 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.04947, allocations: 8 kB / 0.9678 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004863/0.04996, allocations: 47.94 kB / 0.9678 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.05007, allocations: 19.97 kB / 0.9678 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.0501, allocations: 7.984 kB / 0.9678 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004735/0.05057, allocations: 319.1 kB / 0.9681 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.05057, allocations: 0 / 0.9681 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004357/0.05101, allocations: 83.94 kB / 0.9682 GB, free: 9.547 MB / 0.8731 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.000367/0.05138, allocations: 154.9 kB / 0.9684 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002193/0.05357, allocations: 0.7699 MB / 0.9691 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.05357, allocations: 0 / 0.9691 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009386/0.05451, allocations: 319.7 kB / 0.9694 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.05499, allocations: 85.25 kB / 0.9695 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.0571, allocations: 0.8192 MB / 0.9703 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.05736, allocations: 206.1 kB / 0.9705 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003642/0.05772, allocations: 94.23 kB / 0.9706 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.05788, allocations: 36.47 kB / 0.9706 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/0.05788, allocations: 8 kB / 0.9706 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of Templates: time 0.01614/0.07402, allocations: 7.454 MB / 0.9779 GB, free: 15.67 MB / 0.8887 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: 9.209309253841639]