Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 183.5 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.789/2.789, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 12 kB / 0.8736 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.6936, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.001659/0.6953, allocations: 1.027 MB / 1.025 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.6971, allocations: 1.311 MB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.6972, allocations: 11.94 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.51e-05/0.6973, allocations: 19.73 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.6974, allocations: 19.78 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.698, allocations: 199.7 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.6983, allocations: 344.3 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.6986, allocations: 164.9 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.6988, allocations: 103.5 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.6989, allocations: 127.3 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.699, allocations: 15.94 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.591e-05/0.6991, allocations: 31.98 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.6991, allocations: 43.77 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.6992, allocations: 148.9 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.6996, allocations: 349 kB / 1.028 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6996, allocations: 0 / 1.028 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6996, allocations: 4 kB / 1.028 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.6996, allocations: 0 / 1.028 GB, free: 11.93 MB / 0.7794 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.001047/0.7007, allocations: 0.5905 MB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.7007, allocations: 11.97 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.7008, allocations: 40.5 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.7017, allocations: 372.3 kB / 1.029 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.7017, allocations: 24.94 kB / 1.029 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.7018, allocations: 32.38 kB / 1.029 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.7025, allocations: 320.3 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.7025, allocations: 3.938 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.7025, allocations: 16 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.7025, allocations: 8 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007078/0.7033, allocations: 249 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.7046, allocations: 0.9831 MB / 1.03 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.7051, allocations: 219.8 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.7055, allocations: 110.6 kB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.7055, allocations: 7.984 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004493/0.706, allocations: 194.9 kB / 1.031 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 2.224e-06/0.706, allocations: 0 / 1.031 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.001068/0.7071, allocations: 337.2 kB / 1.031 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.7071, allocations: 110.8 kB / 1.031 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.7073, allocations: 239.9 kB / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.7074, allocations: 25.7 kB / 1.031 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.7075, allocations: 176.3 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.7076, allocations: 63.11 kB / 1.032 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.7076, allocations: 45.69 kB / 1.032 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7078, allocations: 330.8 kB / 1.032 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.7081, allocations: 112.2 kB / 1.032 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.7085, allocations: 199.6 kB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/0.7092, allocations: 313 kB / 1.032 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7093, allocations: 0 / 1.032 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000933/0.7102, allocations: 398.6 kB / 1.033 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.7103, allocations: 45.62 kB / 1.033 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7103, allocations: 0 / 1.033 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.7103, allocations: 8 kB / 1.033 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.7106, allocations: 52.14 kB / 1.033 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.7106, allocations: 11.94 kB / 1.033 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.711, allocations: 75.64 kB / 1.033 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.711, allocations: 19.98 kB / 1.033 GB, free: 5.863 MB / 0.7794 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.0002053/0.7112, allocations: 155.3 kB / 1.033 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.7113, allocations: 19.75 kB / 1.033 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.184e-05/0.7114, allocations: 29.39 kB / 1.033 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7114, allocations: 0 / 1.033 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7114, allocations: 4 kB / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7114, allocations: 0 / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.7117, allocations: 321.3 kB / 1.034 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.7118, allocations: 0 / 1.034 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.712, allocations: 47.89 kB / 1.034 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.712, allocations: 3.938 kB / 1.034 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.7121, allocations: 8 kB / 1.034 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.7121, allocations: 4.625 kB / 1.034 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7121, allocations: 3.938 kB / 1.034 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.7128, allocations: 289.6 kB / 1.034 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.7129, allocations: 104.8 kB / 1.034 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.7129, allocations: 7.922 kB / 1.034 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.7131, allocations: 23.98 kB / 1.034 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.7132, allocations: 35.89 kB / 1.034 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.7132, allocations: 15.98 kB / 1.034 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001256/0.7133, allocations: 149.6 kB / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7133, allocations: 0 / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003273/0.7137, allocations: 59.84 kB / 1.034 GB, free: 4.512 MB / 0.7794 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.0001909/0.7139, allocations: 111.2 kB / 1.034 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000829/0.7147, allocations: 327.6 kB / 1.035 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7147, allocations: 0 / 1.035 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.7151, allocations: 119.9 kB / 1.035 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.7154, allocations: 44.89 kB / 1.035 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.7164, allocations: 0.5789 MB / 1.035 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.7167, allocations: 0.756 MB / 1.036 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/0.7168, allocations: 35.42 kB / 1.036 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.7168, allocations: 0 / 1.036 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of Templates: time 0.005855/0.7227, allocations: 3.338 MB / 1.039 GB, free: 15.15 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches