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.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.001272/0.001272, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002111/0.003383, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001271/0.001271, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002702, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9573/0.9573, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08885/1.046, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.237/2.237, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2353/2.472, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.294e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003937/0.00396, allocations: 2.236 MB / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002919/0.00688, allocations: 1.884 MB / 0.8229 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.007031, allocations: 0 / 0.8229 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006766/0.007708, allocations: 214.7 kB / 0.8231 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.007882, allocations: 63.36 kB / 0.8232 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.008978, allocations: 421.2 kB / 0.8236 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005722/0.00955, allocations: 426.6 kB / 0.824 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.009653, allocations: 22.56 kB / 0.824 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.009995, allocations: 254.7 kB / 0.8243 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.01021, allocations: 135.7 kB / 0.8244 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.01027, allocations: 24 kB / 0.8244 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.01077, allocations: 275.5 kB / 0.8247 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.0109, allocations: 95.7 kB / 0.8248 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.01101, allocations: 79.81 kB / 0.8249 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.01155, allocations: 382.9 kB / 0.8252 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.552e-05/0.01157, allocations: 0 / 0.8252 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.783e-06/0.01157, allocations: 0 / 0.8252 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.01159, allocations: 0 / 0.8252 GB, free: 12.01 MB / 0.8073 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.001013/0.0126, allocations: 0.6561 MB / 0.8259 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.01264, allocations: 8.031 kB / 0.8259 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.01387, allocations: 249.7 kB / 0.8261 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.01426, allocations: 244.1 kB / 0.8263 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.01438, allocations: 123.4 kB / 0.8265 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.01443, allocations: 12.38 kB / 0.8265 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.01488, allocations: 190.7 kB / 0.8267 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.01489, allocations: 4.125 kB / 0.8267 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.01492, allocations: 4.125 kB / 0.8267 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.01493, allocations: 4 kB / 0.8267 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.01511, allocations: 59.95 kB / 0.8267 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.01614, allocations: 413.6 kB / 0.8271 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.01843, allocations: 443.7 kB / 0.8275 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.01856, allocations: 40.84 kB / 0.8276 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.01859, allocations: 4 kB / 0.8276 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/0.01892, allocations: 154 kB / 0.8277 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/0.01892, allocations: 0 / 0.8277 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0004573/0.01938, allocations: 163.6 kB / 0.8279 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.01942, allocations: 59.41 kB / 0.8279 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.01971, allocations: 307.3 kB / 0.8282 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.01976, allocations: 37.69 kB / 0.8283 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.01985, allocations: 117.1 kB / 0.8284 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.01992, allocations: 55.52 kB / 0.8284 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.02003, allocations: 45.66 kB / 0.8285 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.02018, allocations: 350.7 kB / 0.8288 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.02035, allocations: 108.5 kB / 0.8289 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.0205, allocations: 100.1 kB / 0.829 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.02076, allocations: 156 kB / 0.8292 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02076, allocations: 0 / 0.8292 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003835/0.02115, allocations: 278.7 kB / 0.8294 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.0212, allocations: 41.69 kB / 0.8295 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.02121, allocations: 0 / 0.8295 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.02123, allocations: 4 kB / 0.8295 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.02153, allocations: 63.91 kB / 0.8295 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.02154, allocations: 4 kB / 0.8295 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.02173, allocations: 27.92 kB / 0.8296 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.02177, allocations: 7.984 kB / 0.8296 GB, free: 7.301 MB / 0.8073 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.0001522/0.02193, allocations: 128.6 kB / 0.8297 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.02199, allocations: 31.91 kB / 0.8297 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.02204, allocations: 35.34 kB / 0.8298 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02205, allocations: 4 kB / 0.8298 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.02205, allocations: 4 kB / 0.8298 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.02205, allocations: 0 / 0.8298 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.02234, allocations: 201.7 kB / 0.83 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.02234, allocations: 0 / 0.83 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.02264, allocations: 63.91 kB / 0.83 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.02277, allocations: 55.92 kB / 0.8301 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.02277, allocations: 7.938 kB / 0.8301 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.0228, allocations: 3.984 kB / 0.8301 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.0228, allocations: 7.984 kB / 0.8301 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0228, allocations: 3.938 kB / 0.8301 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.0231, allocations: 158.7 kB / 0.8303 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.02315, allocations: 11.94 kB / 0.8303 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.02334, allocations: 27.97 kB / 0.8303 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.02341, allocations: 19.97 kB / 0.8303 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.02343, allocations: 3.984 kB / 0.8303 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001332/0.02356, allocations: 136.7 kB / 0.8304 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.02356, allocations: 0 / 0.8304 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003087/0.02387, allocations: 75.94 kB / 0.8305 GB, free: 6.281 MB / 0.8073 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.0002289/0.0241, allocations: 108.3 kB / 0.8306 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003853/0.02449, allocations: 253.7 kB / 0.8309 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.0245, allocations: 8 kB / 0.8309 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.02464, allocations: 71.48 kB / 0.8309 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.02518, allocations: 0.6639 MB / 0.8316 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.0293, allocations: 0.5533 MB / 0.8321 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.095e-05/0.02939, allocations: 112.3 kB / 0.8322 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002925/0.02969, allocations: 70.27 kB / 0.8323 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.03001, allocations: 137.2 kB / 0.8324 GB, free: 4.121 MB / 0.8073 GB Notification: Performance of SimCode: time 9.11e-07/0.03001, allocations: 0 / 0.8324 GB, free: 4.121 MB / 0.8073 GB Notification: Performance of Templates: time 0.009638/0.03965, allocations: 8.536 MB / 0.8408 GB, free: 11.74 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.165678017772734]