Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.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.0009087/0.0009087, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007984/0.0007984, allocations: 173.9 kB / 23.21 MB, free: 1.34 MB / 18.57 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.8753/0.8753, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.84/1.84, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/1.952e-05, allocations: 5.234 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.001771/0.00179, allocations: 1.255 MB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.003094, allocations: 1.342 MB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.003194, allocations: 4 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.09e-05/0.003255, allocations: 35.53 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.003365, allocations: 35.55 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.003846, allocations: 242.9 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.004126, allocations: 376.2 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.004313, allocations: 133.3 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.004499, allocations: 215.6 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.004634, allocations: 123.6 kB / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.00468, allocations: 40 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.031e-05/0.00477, allocations: 59.92 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.00482, allocations: 75.73 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.004907, allocations: 111.7 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.005292, allocations: 0.5022 MB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005294, allocations: 0 / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005295, allocations: 0 / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.0053, allocations: 3.938 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007349/0.006035, allocations: 0.5539 MB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.006071, allocations: 12.73 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.006134, allocations: 44.7 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.006619, allocations: 289.9 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.006645, allocations: 25.03 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.006687, allocations: 36.36 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.007066, allocations: 309.6 kB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.007078, allocations: 4.125 kB / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.007098, allocations: 16.31 kB / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.007107, allocations: 12.12 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.007471, allocations: 224.5 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007801/0.008251, allocations: 0.8324 MB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.008549, allocations: 203.7 kB / 1.008 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.00871, allocations: 98.61 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.008737, allocations: 3.984 kB / 1.008 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.00901, allocations: 181.8 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.009011, allocations: 0 / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22): time 0.0005878/0.009599, allocations: 313.3 kB / 1.008 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.009657, allocations: 106.8 kB / 1.008 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.009809, allocations: 232 kB / 1.009 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.009834, allocations: 33.7 kB / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.009927, allocations: 180.5 kB / 1.009 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.009967, allocations: 67.48 kB / 1.009 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.527e-05/0.01005, allocations: 85.62 kB / 1.009 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.01014, allocations: 326.8 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.01035, allocations: 129.9 kB / 1.01 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.01057, allocations: 225.3 kB / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.01095, allocations: 300.5 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.01095, allocations: 4 kB / 1.01 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005022/0.01145, allocations: 412.9 kB / 1.01 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.01148, allocations: 37.69 kB / 1.01 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01149, allocations: 0 / 1.01 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.0115, allocations: 8.625 kB / 1.01 GB, free: 2.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.01165, allocations: 47.89 kB / 1.01 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.01166, allocations: 7.938 kB / 1.01 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.01181, allocations: 60.09 kB / 1.011 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.01183, allocations: 19.98 kB / 1.011 GB, free: 2.684 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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.0001069/0.01194, allocations: 157.7 kB / 1.011 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.01196, allocations: 27.8 kB / 1.011 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.01201, allocations: 29.45 kB / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01201, allocations: 0 / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.01201, allocations: 8 kB / 1.011 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01202, allocations: 3.938 kB / 1.011 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.01219, allocations: 221.2 kB / 1.011 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01219, allocations: 0 / 1.011 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.01229, allocations: 39.95 kB / 1.011 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01229, allocations: 0 / 1.011 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.0123, allocations: 8 kB / 1.011 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.0123, allocations: 0 / 1.011 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01231, allocations: 4 kB / 1.011 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.01267, allocations: 276.6 kB / 1.011 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.01269, allocations: 27.78 kB / 1.011 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.01271, allocations: 7.984 kB / 1.011 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.01278, allocations: 15.98 kB / 1.011 GB, free: 1.805 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.01286, allocations: 39.94 kB / 1.011 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.01287, allocations: 8 kB / 1.011 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.923e-05/0.01295, allocations: 153.8 kB / 1.012 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01295, allocations: 0 / 1.012 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002014/0.01315, allocations: 67.72 kB / 1.012 GB, free: 1.543 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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.0001415/0.01329, allocations: 115.6 kB / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004794/0.01377, allocations: 324.9 kB / 1.012 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01378, allocations: 4 kB / 1.012 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.01395, allocations: 103.9 kB / 1.012 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.01416, allocations: 45.66 kB / 1.012 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.01473, allocations: 482.9 kB / 1.013 GB, free: 444 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.855e-05/0.01482, allocations: 151.5 kB / 1.013 GB, free: 272 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.01488, allocations: 36.48 kB / 1.013 GB, free: 236 kB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.01488, allocations: 0 / 1.013 GB, free: 236 kB / 0.9636 GB Notification: Performance of Templates: time 0.003577/0.01846, allocations: 3.47 MB / 1.016 GB, free: 12.78 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.763404008932412]