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.00148/0.00148, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001683/0.001683, allocations: 169 kB / 23.02 MB, free: 1.547 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.9454/0.9454, allocations: 177.1 MB / 203.4 MB, free: 5.641 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 2.04/2.04, allocations: 429.5 MB / 0.6733 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 2.064e-06/2.064e-06, allocations: 0 / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.486e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.002019/0.002044, allocations: 1.341 MB / 0.8795 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.003485, allocations: 1.375 MB / 0.8809 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.003611, allocations: 4 kB / 0.8809 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.368e-05/0.003674, allocations: 36.09 kB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.003802, allocations: 40.58 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.004301, allocations: 229.6 kB / 0.8812 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.004605, allocations: 380.2 kB / 0.8815 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.004793, allocations: 133.3 kB / 0.8817 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.005036, allocations: 239.4 kB / 0.8819 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.005181, allocations: 103.7 kB / 0.882 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.005223, allocations: 32 kB / 0.882 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.078e-05/0.005294, allocations: 43.98 kB / 0.882 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.005339, allocations: 71.73 kB / 0.8821 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.00542, allocations: 99.73 kB / 0.8822 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.00568, allocations: 266.9 kB / 0.8825 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005683, allocations: 0 / 0.8825 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.52e-07/0.005683, allocations: 0 / 0.8825 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.005688, allocations: 0.9375 kB / 0.8825 GB, free: 1.887 MB / 0.8386 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.0007042/0.006392, allocations: 0.643 MB / 0.8831 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.006427, allocations: 8.031 kB / 0.8831 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.578e-05/0.006513, allocations: 61.86 kB / 0.8832 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.006755, allocations: 237.5 kB / 0.8834 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.006785, allocations: 25.03 kB / 0.8834 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.006817, allocations: 33.41 kB / 0.8834 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.007168, allocations: 278.3 kB / 0.8837 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.007177, allocations: 192 / 0.8837 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.007197, allocations: 8.375 kB / 0.8837 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.007206, allocations: 8.375 kB / 0.8837 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.007371, allocations: 109.7 kB / 0.8838 GB, free: 416 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008216/0.008193, allocations: 0.9713 MB / 0.8848 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.008414, allocations: 175.9 kB / 0.8849 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.356e-05/0.008487, allocations: 67.06 kB / 0.885 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.008511, allocations: 12 kB / 0.885 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.008669, allocations: 139.8 kB / 0.8852 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.00867, allocations: 0 / 0.8852 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.0003312/0.009001, allocations: 209.6 kB / 0.8854 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.009048, allocations: 106.8 kB / 0.8855 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.009207, allocations: 294.4 kB / 0.8857 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.00923, allocations: 29.7 kB / 0.8858 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.009324, allocations: 215.4 kB / 0.886 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.009366, allocations: 71.42 kB / 0.886 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.009452, allocations: 83.33 kB / 0.8861 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.009569, allocations: 0.504 MB / 0.8866 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.009677, allocations: 86.33 kB / 0.8867 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.009818, allocations: 218.1 kB / 0.8869 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.01003, allocations: 253.4 kB / 0.8871 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01003, allocations: 0 / 0.8871 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003347/0.01036, allocations: 320.9 kB / 0.8875 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.0104, allocations: 45.69 kB / 0.8875 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.0104, allocations: 4 kB / 0.8875 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.01042, allocations: 4 kB / 0.8875 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01055, allocations: 43.91 kB / 0.8875 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.01056, allocations: 7.938 kB / 0.8876 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.01069, allocations: 55.69 kB / 0.8876 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.01071, allocations: 19.98 kB / 0.8876 GB, free: 12.16 MB / 0.8542 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 9.753e-05/0.01081, allocations: 180.5 kB / 0.8878 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.01084, allocations: 27.86 kB / 0.8878 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.01087, allocations: 29.45 kB / 0.8879 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01087, allocations: 3.938 kB / 0.8879 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01088, allocations: 4 kB / 0.8879 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01088, allocations: 3.938 kB / 0.8879 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.01106, allocations: 224.5 kB / 0.8881 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01106, allocations: 0 / 0.8881 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.01115, allocations: 39.91 kB / 0.8881 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01115, allocations: 4 kB / 0.8881 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01116, allocations: 4 kB / 0.8881 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01117, allocations: 4 kB / 0.8881 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01117, allocations: 0 / 0.8881 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.01138, allocations: 217.3 kB / 0.8883 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.0114, allocations: 31.86 kB / 0.8884 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.01142, allocations: 0 / 0.8884 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.01147, allocations: 15.98 kB / 0.8884 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.01155, allocations: 43.88 kB / 0.8884 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.01156, allocations: 8 kB / 0.8884 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.81e-05/0.01164, allocations: 177.8 kB / 0.8886 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01164, allocations: 0 / 0.8886 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002051/0.01184, allocations: 71.72 kB / 0.8887 GB, free: 11.02 MB / 0.8542 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.0001155/0.01196, allocations: 111.2 kB / 0.8888 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.01223, allocations: 252.6 kB / 0.889 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01224, allocations: 0 / 0.889 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.092e-05/0.01233, allocations: 75.58 kB / 0.8891 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01252, allocations: 46.19 kB / 0.8891 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.01304, allocations: 467.2 kB / 0.8896 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/0.01309, allocations: 84.31 kB / 0.8897 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.076e-05/0.01318, allocations: 34.28 kB / 0.8897 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.01325, allocations: 40.48 kB / 0.8897 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.01325, allocations: 0 / 0.8897 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of Templates: time 0.005112/0.01836, allocations: 3.52 MB / 0.8932 GB, free: 6.422 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 240] 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","",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.146864742040634]