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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] 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=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 0.002229/0.002229, allocations: 67.91 kB / 1.107 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29/1.292, allocations: 168.7 MB / 1.272 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004321/1.296, allocations: 2.182 MB / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003087/1.299, allocations: 1.866 MB / 1.276 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/1.299, allocations: 2.375 kB / 1.276 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007941/1.3, allocations: 222.8 kB / 1.276 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001621/1.3, allocations: 65.19 kB / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/1.302, allocations: 428.3 kB / 1.277 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006401/1.302, allocations: 405.6 kB / 1.277 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/1.302, allocations: 29.64 kB / 1.277 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/1.303, allocations: 157.3 kB / 1.277 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/1.303, allocations: 166.8 kB / 1.277 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.006e-05/1.303, allocations: 27.97 kB / 1.277 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004956/1.303, allocations: 238 kB / 1.278 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/1.304, allocations: 121.7 kB / 1.278 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/1.304, allocations: 172 kB / 1.278 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008711/1.305, allocations: 0.5927 MB / 1.278 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.305, allocations: 0 / 1.278 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.305, allocations: 0 / 1.278 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.683e-05/1.305, allocations: 0.9062 kB / 1.278 GB, free: 4.238 MB / 0.9981 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.001372/1.306, allocations: 0.7172 MB / 1.279 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.306, allocations: 9.156 kB / 1.279 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/1.308, allocations: 159.1 kB / 1.279 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/1.308, allocations: 368 kB / 1.28 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/1.309, allocations: 73.97 kB / 1.28 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/1.309, allocations: 14.72 kB / 1.28 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.31, allocations: 443.4 kB / 1.28 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.31, allocations: 0.5 kB / 1.28 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/1.31, allocations: 1.797 kB / 1.28 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/1.31, allocations: 1.75 kB / 1.28 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/1.312, allocations: 0.5869 MB / 1.281 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/1.314, allocations: 1.051 MB / 1.282 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005043/1.319, allocations: 0.835 MB / 1.283 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007869/1.32, allocations: 304.7 kB / 1.283 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/1.32, allocations: 6.391 kB / 1.283 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/1.321, allocations: 444 kB / 1.283 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 3.657e-06/1.321, allocations: 0 / 1.283 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002613/1.324, allocations: 0.919 MB / 1.284 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/1.324, allocations: 58.83 kB / 1.284 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/1.324, allocations: 434.5 kB / 1.285 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/1.324, allocations: 30.45 kB / 1.285 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/1.324, allocations: 172.8 kB / 1.285 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/1.324, allocations: 52.81 kB / 1.285 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/1.325, allocations: 51.91 kB / 1.285 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.325, allocations: 351.4 kB / 1.285 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008912/1.326, allocations: 378.2 kB / 1.286 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008407/1.326, allocations: 371 kB / 1.286 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/1.328, allocations: 0.6011 MB / 1.287 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.328, allocations: 0 / 1.287 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00216/1.33, allocations: 0.9047 MB / 1.287 GB, free: 248 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/1.33, allocations: 46.17 kB / 1.288 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.33, allocations: 0 / 1.288 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/1.33, allocations: 5.859 kB / 1.288 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/1.331, allocations: 59.66 kB / 1.288 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.331, allocations: 1.219 kB / 1.288 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/1.331, allocations: 48.34 kB / 1.288 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/1.331, allocations: 17.44 kB / 1.288 GB, free: 192 kB / 0.9981 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.0003384/1.331, allocations: 190.5 kB / 1.288 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/1.331, allocations: 38.5 kB / 1.288 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/1.332, allocations: 40.08 kB / 1.288 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/1.332, allocations: 6.672 kB / 1.288 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/1.332, allocations: 0 / 1.288 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/1.332, allocations: 6 kB / 1.288 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000766/1.332, allocations: 0.5465 MB / 1.288 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.332, allocations: 0 / 1.288 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/1.333, allocations: 59.62 kB / 1.288 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.333, allocations: 0.6094 kB / 1.288 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/1.333, allocations: 14.34 kB / 1.289 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.333, allocations: 7.938 kB / 1.289 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.333, allocations: 0 / 1.289 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/1.335, allocations: 0.6609 MB / 1.289 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/1.335, allocations: 161.6 kB / 1.289 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.685e-05/1.335, allocations: 8.719 kB / 1.289 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/1.335, allocations: 45.64 kB / 1.289 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/1.335, allocations: 20.41 kB / 1.289 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/1.335, allocations: 10.47 kB / 1.289 GB, free: 15.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004405/1.336, allocations: 322.6 kB / 1.29 GB, free: 15.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.336, allocations: 0 / 1.29 GB, free: 15.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004403/1.336, allocations: 84.12 kB / 1.29 GB, free: 15.1 MB / 1.014 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.0003307/1.337, allocations: 136.7 kB / 1.29 GB, free: 15 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001918/1.339, allocations: 0.7503 MB / 1.291 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.339, allocations: 0 / 1.291 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009299/1.34, allocations: 322 kB / 1.291 GB, free: 14.67 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/1.34, allocations: 83.81 kB / 1.291 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/1.343, allocations: 0.8283 MB / 1.292 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/1.343, allocations: 0.8246 MB / 1.293 GB, free: 13.53 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004154/1.344, allocations: 95.52 kB / 1.293 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/1.344, allocations: 39.92 kB / 1.293 GB, free: 13.48 MB / 1.014 GB Notification: Performance of SimCode: time 1.343e-06/1.344, allocations: 0 / 1.293 GB, free: 13.48 MB / 1.014 GB Notification: Performance of Templates: time 0.02305/1.367, allocations: 7.242 MB / 1.3 GB, free: 12.92 MB / 1.014 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 -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.917660715989769]