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.002049/0.002049, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.00197/0.00197, allocations: 165.2 kB / 23.01 MB, free: 4.598 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.51/1.51, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.738/2.738, allocations: 359.1 MB / 0.6044 GB, free: 14.92 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 71.88 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3995, allocations: 169.9 MB / 1.117 GB, free: 2.629 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.005712/0.4053, allocations: 2.075 MB / 1.119 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004733/0.41, allocations: 1.756 MB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.4103, allocations: 4 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.4114, allocations: 190.9 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.4118, allocations: 59.42 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.4137, allocations: 431.5 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0009757/0.4147, allocations: 412 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.4148, allocations: 20.58 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.4152, allocations: 155.6 kB / 1.122 GB, free: 13.53 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004631/0.4157, allocations: 155.4 kB / 1.123 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.4158, allocations: 28 kB / 1.123 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007999/0.4166, allocations: 255.6 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.417, allocations: 119.6 kB / 1.123 GB, free: 12.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.4173, allocations: 135.4 kB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.4188, allocations: 0.6072 MB / 1.124 GB, free: 12.24 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4188, allocations: 0 / 1.124 GB, free: 12.24 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.126e-06/0.4188, allocations: 0 / 1.124 GB, free: 12.24 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.088e-05/0.4188, allocations: 4 kB / 1.124 GB, free: 12.24 MB / 1.076 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.002524/0.4214, allocations: 0.6383 MB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4214, allocations: 8.031 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/0.4239, allocations: 172.5 kB / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.4247, allocations: 312.8 kB / 1.125 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.4249, allocations: 127.3 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.425, allocations: 16.31 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.4265, allocations: 444.1 kB / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4265, allocations: 0 / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.4266, allocations: 4 kB / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.4266, allocations: 4 kB / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.4289, allocations: 0.5777 MB / 1.126 GB, free: 9.867 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.4317, allocations: 0.9137 MB / 1.127 GB, free: 8.922 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00698/0.4387, allocations: 0.8377 MB / 1.128 GB, free: 8.074 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.4398, allocations: 296.7 kB / 1.128 GB, free: 7.781 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.4399, allocations: 8 kB / 1.128 GB, free: 7.773 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001606/0.4415, allocations: 449.5 kB / 1.128 GB, free: 7.324 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 4.338e-06/0.4415, allocations: 0 / 1.128 GB, free: 7.324 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.003806/0.4453, allocations: 0.9225 MB / 1.129 GB, free: 6.395 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.4453, allocations: 55.41 kB / 1.129 GB, free: 6.328 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008853/0.4462, allocations: 433.6 kB / 1.13 GB, free: 5.898 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.543e-05/0.4463, allocations: 33.7 kB / 1.13 GB, free: 5.859 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.4465, allocations: 176.1 kB / 1.13 GB, free: 5.684 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.4467, allocations: 51.56 kB / 1.13 GB, free: 5.633 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.4469, allocations: 57.62 kB / 1.13 GB, free: 5.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002588/0.4471, allocations: 354.7 kB / 1.13 GB, free: 5.215 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.4485, allocations: 414.3 kB / 1.131 GB, free: 4.801 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.4499, allocations: 405.4 kB / 1.131 GB, free: 4.398 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/0.4523, allocations: 0.6076 MB / 1.132 GB, free: 3.781 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4523, allocations: 0 / 1.132 GB, free: 3.781 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003113/0.4554, allocations: 0.9326 MB / 1.133 GB, free: 2.832 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.4555, allocations: 41.69 kB / 1.133 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4555, allocations: 0 / 1.133 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/0.4555, allocations: 4 kB / 1.133 GB, free: 2.781 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.4562, allocations: 63.84 kB / 1.133 GB, free: 2.719 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.4562, allocations: 8 kB / 1.133 GB, free: 2.711 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.4567, allocations: 43.84 kB / 1.133 GB, free: 2.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.4568, allocations: 11.98 kB / 1.133 GB, free: 2.656 MB / 1.076 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.0003705/0.4572, allocations: 190.6 kB / 1.133 GB, free: 2.461 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.4573, allocations: 43.75 kB / 1.133 GB, free: 2.418 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.4574, allocations: 43.41 kB / 1.133 GB, free: 2.375 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.4574, allocations: 0 / 1.133 GB, free: 2.375 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4574, allocations: 0 / 1.133 GB, free: 2.375 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.4575, allocations: 0 / 1.133 GB, free: 2.375 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/0.4583, allocations: 432.9 kB / 1.133 GB, free: 1.922 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4583, allocations: 4 kB / 1.133 GB, free: 1.918 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/0.4589, allocations: 67.86 kB / 1.134 GB, free: 1.852 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-06/0.4589, allocations: 3.984 kB / 1.134 GB, free: 1.848 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/0.459, allocations: 7.984 kB / 1.134 GB, free: 1.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.459, allocations: 4 kB / 1.134 GB, free: 1.836 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.459, allocations: 4 kB / 1.134 GB, free: 1.832 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.4615, allocations: 0.6605 MB / 1.134 GB, free: 1.152 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/0.4619, allocations: 91.7 kB / 1.134 GB, free: 1.062 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/0.462, allocations: 7.984 kB / 1.134 GB, free: 1.055 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/0.4626, allocations: 47.94 kB / 1.134 GB, free: 1.008 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4627, allocations: 15.97 kB / 1.134 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.4628, allocations: 11.98 kB / 1.134 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006916/0.4635, allocations: 323.1 kB / 1.135 GB, free: 0.668 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4635, allocations: 0 / 1.135 GB, free: 0.668 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006353/0.4641, allocations: 75.94 kB / 1.135 GB, free: 0.5938 MB / 1.076 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.0004763/0.4646, allocations: 138 kB / 1.135 GB, free: 464 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.7198/1.184, allocations: 0.7841 MB / 1.136 GB, free: 59.17 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.184, allocations: 0 / 1.136 GB, free: 59.17 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007848/1.185, allocations: 320.3 kB / 1.136 GB, free: 59.17 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/1.186, allocations: 74.12 kB / 1.136 GB, free: 59.17 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/1.187, allocations: 0.824 MB / 1.137 GB, free: 58.93 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/1.188, allocations: 206.8 kB / 1.137 GB, free: 58.86 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003499/1.188, allocations: 101.2 kB / 1.137 GB, free: 58.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/1.188, allocations: 40.17 kB / 1.137 GB, free: 58.85 MB / 1.076 GB Notification: Performance of SimCode: time 1.412e-06/1.188, allocations: 0 / 1.137 GB, free: 58.85 MB / 1.076 GB Notification: Performance of Templates: time 0.01154/1.2, allocations: 7.642 MB / 1.145 GB, free: 58.19 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.637482238933444]