Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001092/0.001092, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002677, allocations: 449.8 kB / 10.44 MB, free: 252 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.001058/0.001058, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.002458, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9647/0.9647, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08298/1.048, 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 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.796/1.796, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4225/2.218, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.737e-05, allocations: 9.266 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002256/0.002274, allocations: 2.217 MB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.004099, allocations: 1.886 MB / 0.7337 GB, free: 364 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.373e-05/0.004183, allocations: 4 kB / 0.7337 GB, free: 360 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.004566, allocations: 207.2 kB / 0.7339 GB, free: 152 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.698e-05/0.004653, allocations: 65.89 kB / 0.7339 GB, free: 88 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.005284, allocations: 425.2 kB / 0.7343 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.005639, allocations: 430.6 kB / 0.7347 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.605e-05/0.005715, allocations: 26.53 kB / 0.7348 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.005933, allocations: 248.1 kB / 0.735 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.006075, allocations: 139.6 kB / 0.7351 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.006113, allocations: 28 kB / 0.7352 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.006429, allocations: 263.5 kB / 0.7354 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.006521, allocations: 104.3 kB / 0.7355 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.72e-05/0.006599, allocations: 85.14 kB / 0.7356 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.006959, allocations: 374.9 kB / 0.7359 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.006969, allocations: 0 / 0.7359 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00697, allocations: 0 / 0.7359 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.00698, allocations: 0.6562 kB / 0.7359 GB, free: 14.01 MB / 0.7136 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.0007197/0.0077, allocations: 0.6533 MB / 0.7366 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.698e-05/0.007727, allocations: 9 kB / 0.7366 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008042/0.008531, allocations: 238.2 kB / 0.7368 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.008756, allocations: 248.1 kB / 0.7371 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.008827, allocations: 119.4 kB / 0.7372 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.008857, allocations: 8.375 kB / 0.7372 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.009157, allocations: 182.7 kB / 0.7374 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.009165, allocations: 4.172 kB / 0.7374 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.009188, allocations: 14.25 kB / 0.7374 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.009193, allocations: 7.938 kB / 0.7374 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.009309, allocations: 49.31 kB / 0.7374 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.009909, allocations: 410.9 kB / 0.7378 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.01118, allocations: 437 kB / 0.7382 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.284e-05/0.01125, allocations: 40.84 kB / 0.7383 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.01126, allocations: 0.6562 kB / 0.7383 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.01144, allocations: 154.5 kB / 0.7384 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.01144, allocations: 0 / 0.7384 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002696/0.01171, allocations: 160.2 kB / 0.7386 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.01174, allocations: 55.41 kB / 0.7386 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.01191, allocations: 312.3 kB / 0.7389 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.01194, allocations: 29.7 kB / 0.739 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.01199, allocations: 121.7 kB / 0.7391 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.01204, allocations: 55.5 kB / 0.7391 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.01211, allocations: 46.41 kB / 0.7392 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.0122, allocations: 350.7 kB / 0.7395 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.01231, allocations: 105.5 kB / 0.7396 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-05/0.01241, allocations: 102.5 kB / 0.7397 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.01257, allocations: 152.7 kB / 0.7398 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01257, allocations: 0.75 kB / 0.7398 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002505/0.01282, allocations: 270.2 kB / 0.7401 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.01286, allocations: 47.56 kB / 0.7401 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.01286, allocations: 0 / 0.7401 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.01287, allocations: 0 / 0.7401 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.01306, allocations: 59.92 kB / 0.7402 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.01307, allocations: 0 / 0.7402 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01317, allocations: 31.56 kB / 0.7402 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.0132, allocations: 7.984 kB / 0.7402 GB, free: 9.414 MB / 0.7136 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 9.972e-05/0.0133, allocations: 128.6 kB / 0.7404 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.01334, allocations: 27.91 kB / 0.7404 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.01338, allocations: 43.39 kB / 0.7404 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01338, allocations: 0 / 0.7404 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01338, allocations: 3.938 kB / 0.7404 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01339, allocations: 0.625 kB / 0.7404 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.01356, allocations: 195.7 kB / 0.7406 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01356, allocations: 0 / 0.7406 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.01372, allocations: 51.92 kB / 0.7407 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.0138, allocations: 64.84 kB / 0.7407 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.0138, allocations: 7.875 kB / 0.7407 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.01382, allocations: 7.984 kB / 0.7408 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01382, allocations: 4.812 kB / 0.7408 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01382, allocations: 0 / 0.7408 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.01402, allocations: 156.7 kB / 0.7409 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.01405, allocations: 3.938 kB / 0.7409 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.01417, allocations: 29.19 kB / 0.7409 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.01421, allocations: 21.75 kB / 0.741 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.01423, allocations: 7.984 kB / 0.741 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.54e-05/0.01432, allocations: 128.7 kB / 0.7411 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.01432, allocations: 0 / 0.7411 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001904/0.01451, allocations: 79.94 kB / 0.7412 GB, free: 8.43 MB / 0.7136 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.0001633/0.01467, allocations: 125.7 kB / 0.7413 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002709/0.01494, allocations: 246.8 kB / 0.7415 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.01495, allocations: 9 kB / 0.7415 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.01505, allocations: 67.62 kB / 0.7416 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.01543, allocations: 0.6606 MB / 0.7422 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.01801, allocations: 0.5505 MB / 0.7428 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.01807, allocations: 116.3 kB / 0.7429 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.01824, allocations: 65.03 kB / 0.7429 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.01847, allocations: 129.2 kB / 0.7431 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of SimCode: time 9.01e-07/0.01847, allocations: 5.594 kB / 0.7431 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of Templates: time 0.008796/0.02726, allocations: 8.455 MB / 0.7513 GB, free: 14.07 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource/Buildings_12_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: 4.777510864660144]