Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.0008635/0.0008635, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.002019, 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.0006893/0.0006893, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009553/0.001645, 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.9442/0.9442, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1097/1.054, allocations: 53.66 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.833/1.833, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4854/2.319, allocations: 123.3 MB / 0.7283 GB, free: 5.746 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.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0.5469 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.801e-05, allocations: 3.312 kB / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001594/0.001612, allocations: 0.9166 MB / 0.7305 GB, free: 3.555 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.002727, allocations: 1.218 MB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.475e-05/0.002782, allocations: 4.984 kB / 0.7317 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.00281, allocations: 7.875 kB / 0.7317 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.55e-05/0.002906, allocations: 20.67 kB / 0.7318 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.003191, allocations: 142 kB / 0.7319 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.003367, allocations: 160.5 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003467, allocations: 42.25 kB / 0.7321 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.003595, allocations: 99.8 kB / 0.7322 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.003678, allocations: 47.86 kB / 0.7322 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.0037, allocations: 12.5 kB / 0.7322 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.003767, allocations: 20 kB / 0.7323 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.003791, allocations: 17.34 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.003831, allocations: 31.94 kB / 0.7323 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.003982, allocations: 99.59 kB / 0.7324 GB, free: 1.652 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.003994, allocations: 0.625 kB / 0.7324 GB, free: 1.652 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003994, allocations: 0 / 0.7324 GB, free: 1.652 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.004005, allocations: 0.7812 kB / 0.7324 GB, free: 1.652 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000462/0.004467, allocations: 362.5 kB / 0.7327 GB, free: 1.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.004497, allocations: 8.031 kB / 0.7328 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.004534, allocations: 17.8 kB / 0.7328 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.00466, allocations: 137.6 kB / 0.7329 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.004673, allocations: 5.219 kB / 0.7329 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.004692, allocations: 12.38 kB / 0.7329 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.004807, allocations: 90.39 kB / 0.733 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-06/0.004813, allocations: 192 / 0.733 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.00482, allocations: 384 / 0.733 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.004826, allocations: 8.656 kB / 0.733 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.004861, allocations: 25.64 kB / 0.733 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.005131, allocations: 235.9 kB / 0.7333 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/0.005196, allocations: 35.38 kB / 0.7333 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.005218, allocations: 20.97 kB / 0.7333 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.005234, allocations: 0.5 kB / 0.7333 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.628e-05/0.00532, allocations: 65.03 kB / 0.7334 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.005321, allocations: 0 / 0.7334 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.000121/0.005442, allocations: 81.58 kB / 0.7335 GB, free: 484 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.00547, allocations: 52.31 kB / 0.7335 GB, free: 420 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.005536, allocations: 133.5 kB / 0.7336 GB, free: 276 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.005551, allocations: 25.7 kB / 0.7337 GB, free: 244 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.005597, allocations: 113.4 kB / 0.7338 GB, free: 128 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.005613, allocations: 31.73 kB / 0.7338 GB, free: 96 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.005655, allocations: 37.69 kB / 0.7338 GB, free: 52 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/0.005734, allocations: 328.5 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.975e-05/0.005784, allocations: 49.69 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.368e-05/0.005837, allocations: 96.92 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.106e-05/0.005908, allocations: 94.34 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005911, allocations: 0 / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001268/0.006037, allocations: 174.7 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.006069, allocations: 33.7 kB / 0.7346 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006073, allocations: 0 / 0.7346 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.006084, allocations: 4.625 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.006152, allocations: 19.92 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.006155, allocations: 1.25 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.006226, allocations: 23.98 kB / 0.7346 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.00624, allocations: 9.016 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 5.663e-05/0.006297, allocations: 117.8 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.006306, allocations: 8.516 kB / 0.7348 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.006327, allocations: 13.84 kB / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006329, allocations: 0 / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.00633, allocations: 0 / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.006333, allocations: 0 / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.852e-05/0.006402, allocations: 94.27 kB / 0.7349 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006403, allocations: 1.219 kB / 0.7349 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.052e-05/0.006433, allocations: 23.92 kB / 0.7349 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.006442, allocations: 7.953 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006443, allocations: 0.875 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.006447, allocations: 0 / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006448, allocations: 0 / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006449, allocations: 1.188 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.2e-05/0.006521, allocations: 89.03 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.00653, allocations: 3.984 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.642e-05/0.006547, allocations: 4.75 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.006573, allocations: 7.984 kB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.006576, allocations: 0.75 kB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.755e-05/0.006594, allocations: 24.83 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006594, allocations: 0.5938 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001241/0.006718, allocations: 33.55 kB / 0.735 GB, free: 14.7 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: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.8e-05/0.006816, allocations: 92.28 kB / 0.7351 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.006953, allocations: 155.1 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.006959, allocations: 0 / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.288e-05/0.006992, allocations: 26.09 kB / 0.7353 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.007123, allocations: 113.9 kB / 0.7354 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.007556, allocations: 202.7 kB / 0.7356 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.877e-05/0.007585, allocations: 59.34 kB / 0.7357 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.007617, allocations: 15.45 kB / 0.7357 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/0.007702, allocations: 71.36 kB / 0.7357 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/0.007702, allocations: 0 / 0.7357 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.003101/0.0108, allocations: 1.764 MB / 0.7375 GB, free: 12.27 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.7586838779971]