Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.0009139/0.0009139, allocations: 93.06 kB / 19.65 MB, free: 280 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.001568/0.001568, allocations: 165 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 1.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.574 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.147/2.147, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.Overrides") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.782e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.003468/0.003496, allocations: 1.327 MB / 0.8795 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002331/0.005828, allocations: 1.381 MB / 0.8809 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.006054, allocations: 4 kB / 0.8809 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.006157, allocations: 35.53 kB / 0.8809 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.006357, allocations: 43.53 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000829/0.007186, allocations: 227.4 kB / 0.8811 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005689/0.007755, allocations: 381.9 kB / 0.8815 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.008092, allocations: 121.4 kB / 0.8816 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.008472, allocations: 219.6 kB / 0.8818 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.008728, allocations: 131.6 kB / 0.882 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.008829, allocations: 40 kB / 0.882 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.008947, allocations: 52.86 kB / 0.8821 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.009024, allocations: 79.73 kB / 0.8821 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.009176, allocations: 112.8 kB / 0.8822 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.009693, allocations: 298.8 kB / 0.8825 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.009698, allocations: 0 / 0.8825 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.0097, allocations: 1.125 kB / 0.8825 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.00971, allocations: 0 / 0.8825 GB, free: 1.871 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.001193/0.0109, allocations: 0.6431 MB / 0.8832 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.01096, allocations: 12.03 kB / 0.8832 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.0111, allocations: 56.75 kB / 0.8832 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007945/0.01189, allocations: 279.8 kB / 0.8835 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.01194, allocations: 22.88 kB / 0.8835 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.012, allocations: 40.31 kB / 0.8835 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.01257, allocations: 274.8 kB / 0.8838 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.01259, allocations: 1.531 kB / 0.8838 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.01262, allocations: 12.36 kB / 0.8838 GB, free: 468 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.01264, allocations: 12.12 kB / 0.8838 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.01296, allocations: 102.9 kB / 0.8839 GB, free: 356 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.01436, allocations: 0.9798 MB / 0.8849 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.01471, allocations: 167.8 kB / 0.885 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.01483, allocations: 67.11 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.01487, allocations: 8 kB / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.01512, allocations: 147.1 kB / 0.8853 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 2.835e-06/0.01512, allocations: 0 / 0.8853 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.0005376/0.01566, allocations: 202.6 kB / 0.8855 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.01572, allocations: 108.5 kB / 0.8856 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.01597, allocations: 290.5 kB / 0.8858 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.01601, allocations: 29.7 kB / 0.8859 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.01615, allocations: 223.3 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.457e-05/0.01621, allocations: 72.52 kB / 0.8861 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.01637, allocations: 79.33 kB / 0.8862 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.01653, allocations: 0.5079 MB / 0.8867 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.01672, allocations: 94.14 kB / 0.8868 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.01695, allocations: 206.1 kB / 0.887 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.01728, allocations: 257.8 kB / 0.8872 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.01729, allocations: 0 / 0.8872 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006007/0.01789, allocations: 328.8 kB / 0.8876 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.01793, allocations: 37.69 kB / 0.8876 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.01794, allocations: 7.938 kB / 0.8876 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.01797, allocations: 4 kB / 0.8876 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.0182, allocations: 47.91 kB / 0.8877 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.01821, allocations: 7.938 kB / 0.8877 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.01845, allocations: 47.81 kB / 0.8877 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.01849, allocations: 15.98 kB / 0.8877 GB, free: 12.1 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 0.0001508/0.01864, allocations: 184.5 kB / 0.8879 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.0187, allocations: 27.86 kB / 0.8879 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.01876, allocations: 33.45 kB / 0.888 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.01877, allocations: 0 / 0.888 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.01877, allocations: 4 kB / 0.888 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.01878, allocations: 3.938 kB / 0.888 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.01906, allocations: 220.5 kB / 0.8882 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.01907, allocations: 0 / 0.8882 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.01923, allocations: 39.91 kB / 0.8882 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.01924, allocations: 0 / 0.8882 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.01926, allocations: 8 kB / 0.8882 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.01926, allocations: 4 kB / 0.8882 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01927, allocations: 192 / 0.8882 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.01964, allocations: 226.2 kB / 0.8884 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.01967, allocations: 27.8 kB / 0.8885 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.0197, allocations: 4 kB / 0.8885 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.0198, allocations: 11.98 kB / 0.8885 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.01993, allocations: 47.88 kB / 0.8885 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.01995, allocations: 8 kB / 0.8885 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001269/0.02007, allocations: 177.7 kB / 0.8887 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02007, allocations: 0 / 0.8887 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004016/0.02048, allocations: 67.83 kB / 0.8888 GB, free: 10.96 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.0002042/0.02068, allocations: 115.2 kB / 0.8889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004606/0.02114, allocations: 248.6 kB / 0.8891 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02114, allocations: 0 / 0.8891 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.02131, allocations: 79.52 kB / 0.8892 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.02167, allocations: 45.28 kB / 0.8892 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.02261, allocations: 459.7 kB / 0.8897 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.791e-05/0.02267, allocations: 80.33 kB / 0.8897 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001552/0.02283, allocations: 34.28 kB / 0.8898 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.924e-05/0.02293, allocations: 44.48 kB / 0.8898 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/0.02293, allocations: 0 / 0.8898 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of Templates: time 0.007442/0.03037, allocations: 3.28 MB / 0.893 GB, free: 6.613 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.698239255696535]