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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00088/0.00088, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000957/0.000957, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.886/2.886, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 8.875 kB / 0.9022 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 159.6 MB / 1.058 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.001811/0.3496, allocations: 0.9628 MB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3516, allocations: 1.299 MB / 1.06 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.3518, allocations: 4 kB / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.445e-05/0.3519, allocations: 23.72 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.3521, allocations: 19.8 kB / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.3528, allocations: 183.7 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003826/0.3532, allocations: 312.3 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.3535, allocations: 132.9 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.3537, allocations: 103.6 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.3538, allocations: 119.4 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.3539, allocations: 12 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.354, allocations: 27.98 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.3541, allocations: 43.77 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.982e-05/0.3542, allocations: 73.52 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.3545, allocations: 351.2 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3545, allocations: 4 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3545, allocations: 0 / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.3546, allocations: 0 / 1.062 GB, free: 1.551 MB / 0.8106 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.00106/0.3556, allocations: 0.598 MB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3557, allocations: 12.03 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.3558, allocations: 31.62 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.3566, allocations: 370.9 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.3567, allocations: 24.52 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.3568, allocations: 32 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006914/0.3575, allocations: 315.8 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3575, allocations: 0 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3575, allocations: 12 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3575, allocations: 8 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.3582, allocations: 244.6 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.3597, allocations: 0.9946 MB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.3602, allocations: 215.8 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.3605, allocations: 110.6 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.3606, allocations: 15.91 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004707/0.3611, allocations: 188.3 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.864e-06/0.3611, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0009858/0.3621, allocations: 337.1 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.3621, allocations: 110.8 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.3623, allocations: 229.3 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.3624, allocations: 25.7 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.3625, allocations: 172.3 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.3626, allocations: 71.09 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.3626, allocations: 4 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3627, allocations: 330.8 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.3631, allocations: 112.2 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.3634, allocations: 187.6 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.3638, allocations: 158.4 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3638, allocations: 0 / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009466/0.3648, allocations: 394.7 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.3648, allocations: 33.7 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3649, allocations: 7.938 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3649, allocations: 4 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.3652, allocations: 60.14 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3652, allocations: 8 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.3655, allocations: 67.78 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.3656, allocations: 15.95 kB / 1.067 GB, free: 11.77 MB / 0.8262 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,$PRE.heaOff.y,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.3657, allocations: 158.3 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.3658, allocations: 27.66 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.006e-05/0.3658, allocations: 25.41 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3658, allocations: 4 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3659, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3659, allocations: 7.922 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.3662, allocations: 321.3 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.3662, allocations: 4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.3664, allocations: 43.91 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.3665, allocations: 4 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3665, allocations: 4 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3665, allocations: 3.984 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3665, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006555/0.3672, allocations: 299.1 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.3672, allocations: 100.9 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.3673, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.3674, allocations: 27.97 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3676, allocations: 31.95 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3676, allocations: 12 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001209/0.3677, allocations: 148.5 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3677, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003577/0.3681, allocations: 67.75 kB / 1.068 GB, free: 10.41 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.3683, allocations: 115.4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007766/0.3691, allocations: 327.6 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3691, allocations: 0 / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.3694, allocations: 132.2 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.3697, allocations: 40.73 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/0.3706, allocations: 0.515 MB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.3709, allocations: 0.7599 MB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.3711, allocations: 34.28 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.3712, allocations: 27.42 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3712, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of Templates: time 0.006864/0.378, allocations: 2.732 MB / 1.073 GB, free: 5.723 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) 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) Reference file matches