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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.01245/0.01245, allocations: 99 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 192.8 kB / 16.67 MB, free: 5.977 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 63.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191/1.193, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.002866/1.196, allocations: 1.347 MB / 1.168 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001983/1.198, allocations: 1.331 MB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/1.198, allocations: 4 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.326e-05/1.198, allocations: 31.55 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/1.198, allocations: 39.59 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007027/1.199, allocations: 223 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/1.199, allocations: 380.2 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/1.2, allocations: 172.9 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/1.2, allocations: 159.5 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/1.2, allocations: 167.3 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.979e-05/1.2, allocations: 40.05 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/1.2, allocations: 51.94 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/1.2, allocations: 79.75 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/1.201, allocations: 163.1 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005573/1.201, allocations: 482.6 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.201, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.483e-06/1.201, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.224e-06/1.201, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 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.001244/1.202, allocations: 0.6407 MB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/1.202, allocations: 8.922 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/1.203, allocations: 44.69 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008415/1.203, allocations: 365.9 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/1.203, allocations: 28.81 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/1.203, allocations: 36.38 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/1.204, allocations: 308.3 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/1.204, allocations: 3.938 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/1.204, allocations: 12 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/1.204, allocations: 4 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/1.205, allocations: 232.5 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/1.206, allocations: 0.9872 MB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/1.207, allocations: 207.8 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/1.207, allocations: 106.6 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/1.207, allocations: 4 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005304/1.208, allocations: 178.9 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 2.956e-06/1.208, allocations: 4 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22): time 0.001049/1.209, allocations: 313.6 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/1.209, allocations: 110.8 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/1.209, allocations: 232.1 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/1.209, allocations: 29.7 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/1.209, allocations: 184.5 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/1.209, allocations: 63.5 kB / 1.175 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/1.21, allocations: 77.67 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.21, allocations: 334.8 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/1.21, allocations: 100.2 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/1.211, allocations: 187.6 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/1.211, allocations: 304.6 kB / 1.176 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.211, allocations: 4 kB / 1.176 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001003/1.212, allocations: 367.1 kB / 1.176 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.011e-05/1.212, allocations: 44.3 kB / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.212, allocations: 4 kB / 1.176 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/1.213, allocations: 4 kB / 1.176 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/1.213, allocations: 51.89 kB / 1.177 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/1.213, allocations: 7.938 kB / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/1.213, allocations: 63.72 kB / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/1.213, allocations: 20 kB / 1.177 GB, free: 9.215 MB / 0.9044 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.0001952/1.213, allocations: 154.8 kB / 1.177 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/1.214, allocations: 27.78 kB / 1.177 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.409e-05/1.214, allocations: 25.41 kB / 1.177 GB, free: 9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.214, allocations: 7.984 kB / 1.177 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/1.214, allocations: 0.625 kB / 1.177 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/1.214, allocations: 4 kB / 1.177 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/1.214, allocations: 313.4 kB / 1.177 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.214, allocations: 0 / 1.177 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/1.214, allocations: 43.91 kB / 1.177 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/1.214, allocations: 11.88 kB / 1.177 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/1.214, allocations: 7.984 kB / 1.177 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/1.214, allocations: 4 kB / 1.177 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.214, allocations: 0 / 1.177 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/1.215, allocations: 272.2 kB / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/1.215, allocations: 96.91 kB / 1.178 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/1.215, allocations: 11.94 kB / 1.178 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/1.215, allocations: 23.97 kB / 1.178 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/1.216, allocations: 39.83 kB / 1.178 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/1.216, allocations: 12 kB / 1.178 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001477/1.216, allocations: 145.6 kB / 1.178 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.216, allocations: 0 / 1.178 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000349/1.216, allocations: 63.84 kB / 1.178 GB, free: 7.875 MB / 0.9044 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.0002681/1.216, allocations: 119.2 kB / 1.178 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000897/1.217, allocations: 307.6 kB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.217, allocations: 128 / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/1.218, allocations: 123.8 kB / 1.178 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/1.218, allocations: 40.81 kB / 1.178 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/1.219, allocations: 468 kB / 1.179 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/1.22, allocations: 0.7635 MB / 1.18 GB, free: 6 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001819/1.22, allocations: 34.28 kB / 1.18 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.645e-05/1.22, allocations: 35.42 kB / 1.18 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of SimCode: time 8.31e-07/1.22, allocations: 0 / 1.18 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of Templates: time 0.008141/1.228, allocations: 3.143 MB / 1.183 GB, free: 2.852 MB / 0.9044 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/jenkins/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