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.0008719/0.0008719, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002072, allocations: 435.8 kB / 10.33 MB, free: 368 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.000746/0.000746, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009644/0.00171, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9739/0.9739, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1254/1.099, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.374/2.374, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2384/2.612, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] 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.062e-06/1.062e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.414e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003723/0.003747, allocations: 2.226 MB / 0.8205 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002832/0.006579, allocations: 1.886 MB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.006711, allocations: 4 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006367/0.007348, allocations: 202.7 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.007494, allocations: 67.36 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.0085, allocations: 422.8 kB / 0.823 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005667/0.009066, allocations: 422.7 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.009166, allocations: 26.53 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.009515, allocations: 254.7 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.009723, allocations: 131.7 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.00978, allocations: 32 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004954/0.01028, allocations: 267.5 kB / 0.8241 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.0104, allocations: 99.7 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.01052, allocations: 79.81 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.01106, allocations: 382.8 kB / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.859e-05/0.01108, allocations: 4 kB / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01108, allocations: 0 / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.0111, allocations: 0 / 0.8246 GB, free: 12.42 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.001032/0.01213, allocations: 0.6444 MB / 0.8252 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.01217, allocations: 16.62 kB / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.0134, allocations: 241.7 kB / 0.8255 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.01374, allocations: 248.1 kB / 0.8257 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.01386, allocations: 127.3 kB / 0.8258 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.01391, allocations: 8.375 kB / 0.8258 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.01435, allocations: 193.5 kB / 0.826 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.01436, allocations: 192 / 0.826 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.01439, allocations: 8.125 kB / 0.826 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.0144, allocations: 0 / 0.826 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.01461, allocations: 59.95 kB / 0.8261 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.01562, allocations: 425.5 kB / 0.8265 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.0176, allocations: 431.8 kB / 0.8269 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.01773, allocations: 44.84 kB / 0.8269 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.01775, allocations: 4 kB / 0.8269 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.01805, allocations: 146 kB / 0.8271 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.01805, allocations: 0 / 0.8271 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0004443/0.01849, allocations: 167.7 kB / 0.8272 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.01854, allocations: 59.39 kB / 0.8273 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.0188, allocations: 315.3 kB / 0.8276 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.01885, allocations: 33.7 kB / 0.8276 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.01892, allocations: 121 kB / 0.8278 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.01898, allocations: 51.52 kB / 0.8278 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.01909, allocations: 53.64 kB / 0.8279 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.0192, allocations: 342.8 kB / 0.8282 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.01937, allocations: 104.5 kB / 0.8283 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.01952, allocations: 108.6 kB / 0.8284 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.01991, allocations: 159.9 kB / 0.8285 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01992, allocations: 0 / 0.8285 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004177/0.02033, allocations: 274.8 kB / 0.8288 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.02038, allocations: 37.69 kB / 0.8288 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.02039, allocations: 0 / 0.8288 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.0204, allocations: 0 / 0.8288 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.02071, allocations: 67.84 kB / 0.8289 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.02072, allocations: 0 / 0.8289 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.02091, allocations: 31.91 kB / 0.8289 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.02095, allocations: 11.98 kB / 0.8289 GB, free: 7.715 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.0001346/0.02108, allocations: 120.7 kB / 0.8291 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.02114, allocations: 31.84 kB / 0.8291 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.0212, allocations: 35.41 kB / 0.8291 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.0212, allocations: 0 / 0.8291 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.02121, allocations: 7.984 kB / 0.8291 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.02121, allocations: 3.984 kB / 0.8291 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.02148, allocations: 197.7 kB / 0.8293 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.02148, allocations: 0 / 0.8293 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.02175, allocations: 67.84 kB / 0.8294 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.02188, allocations: 63.66 kB / 0.8294 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.02188, allocations: 3.938 kB / 0.8294 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.0219, allocations: 3.984 kB / 0.8295 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.02191, allocations: 4 kB / 0.8295 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.02191, allocations: 0 / 0.8295 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.0222, allocations: 162.7 kB / 0.8296 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.02225, allocations: 15.92 kB / 0.8296 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.02245, allocations: 19.98 kB / 0.8296 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.02251, allocations: 23.95 kB / 0.8297 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.02254, allocations: 7.984 kB / 0.8297 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001389/0.02268, allocations: 128.7 kB / 0.8298 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.02268, allocations: 0 / 0.8298 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000255/0.02293, allocations: 91.92 kB / 0.8299 GB, free: 6.688 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.0001773/0.02311, allocations: 104.4 kB / 0.83 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003098/0.02342, allocations: 241.7 kB / 0.8302 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.02343, allocations: 4.25 kB / 0.8302 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.506e-05/0.02352, allocations: 67.58 kB / 0.8303 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.02379, allocations: 120.8 kB / 0.8304 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.02659, allocations: 0.5679 MB / 0.831 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.535e-05/0.02666, allocations: 116.3 kB / 0.8311 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.02686, allocations: 74.27 kB / 0.8311 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.02709, allocations: 125.3 kB / 0.8313 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of SimCode: time 9.52e-07/0.02709, allocations: 0 / 0.8313 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of Templates: time 0.009707/0.0368, allocations: 8.623 MB / 0.8397 GB, free: 12.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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.425115182064474]