Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00103/0.00103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.002432, 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.0007058/0.0007058, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002066, 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.9996/0.9996, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1224/1.122, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.367/2.367, allocations: 446.7 MB / 0.6745 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3846/2.752, allocations: 145.9 MB / 0.817 GB, free: 4.18 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.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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.76e-05/4.046e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002152/0.002193, allocations: 0.9295 MB / 0.8192 GB, free: 1.941 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.003797, allocations: 1.205 MB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.352e-05/0.003891, allocations: 0 / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.003931, allocations: 11.86 kB / 0.8204 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.353e-05/0.004015, allocations: 19.75 kB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.004446, allocations: 147.6 kB / 0.8206 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.004729, allocations: 155.6 kB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.004903, allocations: 46.27 kB / 0.8207 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.005104, allocations: 99.86 kB / 0.8208 GB, free: 252 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.005239, allocations: 43.86 kB / 0.8209 GB, free: 208 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.005273, allocations: 12 kB / 0.8209 GB, free: 196 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.00538, allocations: 23.98 kB / 0.8209 GB, free: 172 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.005416, allocations: 15.94 kB / 0.8209 GB, free: 156 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.00547, allocations: 27.94 kB / 0.821 GB, free: 128 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.005697, allocations: 103.6 kB / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.809e-05/0.005725, allocations: 0 / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.984e-06/0.005727, allocations: 0 / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.005747, allocations: 0 / 0.8211 GB, free: 24 kB / 0.7917 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.0007838/0.00653, allocations: 361.9 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.006587, allocations: 8.625 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.006643, allocations: 16.92 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.00684, allocations: 133.7 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.006868, allocations: 8.312 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.006889, allocations: 20.36 kB / 0.8216 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.007083, allocations: 82.92 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.007093, allocations: 192 / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.007107, allocations: 4.375 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.007114, allocations: 4.125 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.00716, allocations: 19.98 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.007584, allocations: 235.9 kB / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.0077, allocations: 38.56 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.007731, allocations: 20.8 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.007759, allocations: 0 / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.007905, allocations: 67.48 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.007906, allocations: 7.938 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001776/0.008084, allocations: 61.67 kB / 0.8221 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.008134, allocations: 59.34 kB / 0.8222 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.008237, allocations: 138.6 kB / 0.8223 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.008259, allocations: 29.7 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.008324, allocations: 100.2 kB / 0.8224 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.008341, allocations: 31.73 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.008401, allocations: 41.67 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.008513, allocations: 326.8 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.008588, allocations: 49.69 kB / 0.8228 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.287e-05/0.008671, allocations: 89.09 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.008771, allocations: 97.03 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.008775, allocations: 0 / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001658/0.008941, allocations: 168.9 kB / 0.8232 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.008992, allocations: 33.7 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.009002, allocations: 7.984 kB / 0.8232 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.009015, allocations: 0 / 0.8232 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.009124, allocations: 12 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.009132, allocations: 4 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.143e-05/0.009223, allocations: 19.97 kB / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.00924, allocations: 8 kB / 0.8233 GB, free: 13.54 MB / 0.8073 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 8.744e-05/0.009328, allocations: 125.8 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.009344, allocations: 11.98 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.009383, allocations: 8.438 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.00939, allocations: 4 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.009393, allocations: 0 / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.009397, allocations: 0 / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.009517, allocations: 97.72 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.00952, allocations: 0 / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.009572, allocations: 8 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.009588, allocations: 7.953 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.00959, allocations: 0 / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.009597, allocations: 8 kB / 0.8235 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.009602, allocations: 11.92 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.009604, allocations: 400 / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.009719, allocations: 96.94 kB / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.009732, allocations: 0 / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.009755, allocations: 4 kB / 0.8236 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.009796, allocations: 7.984 kB / 0.8236 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.009802, allocations: 4 kB / 0.8236 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.009828, allocations: 19.8 kB / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009828, allocations: 4 kB / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001378/0.009965, allocations: 31.95 kB / 0.8237 GB, free: 13.05 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: 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 0.0001844/0.01015, allocations: 95.77 kB / 0.8238 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.01034, allocations: 149.9 kB / 0.8239 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.01035, allocations: 4 kB / 0.8239 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.45e-05/0.01039, allocations: 24.78 kB / 0.824 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.01055, allocations: 32.11 kB / 0.824 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.01119, allocations: 204.6 kB / 0.8242 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.01124, allocations: 63.34 kB / 0.8242 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.184e-05/0.01128, allocations: 4.5 kB / 0.8242 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.01139, allocations: 79.34 kB / 0.8243 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of SimCode: time 1.252e-06/0.01139, allocations: 0 / 0.8243 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of Templates: time 0.004715/0.0161, allocations: 1.79 MB / 0.8261 GB, free: 10.61 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.417440624907613]