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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00121/0.00121, allocations: 108 kB / 15.6 MB, free: 132 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.001963/0.001963, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.515/1.515, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.025/3.025, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 72.22 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3513, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.003111/0.3544, allocations: 1.348 MB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.357, allocations: 1.314 MB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.3573, allocations: 8 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.3574, allocations: 31.55 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.3577, allocations: 39.53 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.3585, allocations: 227.1 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.359, allocations: 384.2 kB / 1.072 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.3593, allocations: 172.9 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.3596, allocations: 151.5 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.3598, allocations: 167.3 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.525e-05/0.3599, allocations: 40 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.36, allocations: 51.98 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.3601, allocations: 75.77 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.3603, allocations: 167.1 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.3608, allocations: 458.8 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3608, allocations: 4 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3608, allocations: 0 / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.3609, allocations: 0 / 1.073 GB, free: 5.727 MB / 0.8262 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.001133/0.362, allocations: 0.6449 MB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3621, allocations: 8.031 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.277e-05/0.3621, allocations: 36.56 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000857/0.363, allocations: 358.2 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.3631, allocations: 20.94 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.3631, allocations: 36.31 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.3637, allocations: 312.4 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3638, allocations: 3.938 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.3638, allocations: 12 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.3638, allocations: 4 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.3645, allocations: 232.5 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.3657, allocations: 0.9947 MB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.3662, allocations: 215.8 kB / 1.076 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.3665, allocations: 106.6 kB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.3666, allocations: 0 / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005188/0.3671, allocations: 186.6 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.993e-06/0.3671, allocations: 4 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.001001/0.3681, allocations: 313.6 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.3682, allocations: 114.7 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3684, allocations: 220 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.3685, allocations: 33.7 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3686, allocations: 176.3 kB / 1.077 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.3687, allocations: 67.08 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.3688, allocations: 81.67 kB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.369, allocations: 334.8 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.3693, allocations: 100.2 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.3697, allocations: 184.1 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.3704, allocations: 304.6 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3704, allocations: 4 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008731/0.3713, allocations: 370.6 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.3713, allocations: 37.64 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3713, allocations: 4 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3714, allocations: 4.312 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.3716, allocations: 55.89 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3717, allocations: 4 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.372, allocations: 55.7 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.372, allocations: 19.98 kB / 1.078 GB, free: 15.74 MB / 0.8419 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.0001777/0.3722, allocations: 163.5 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.3723, allocations: 27.66 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.3723, allocations: 25.39 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3723, allocations: 4 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.3723, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3724, allocations: 7.922 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.3727, allocations: 305.5 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3727, allocations: 4 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.3729, allocations: 47.89 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3729, allocations: 3.938 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.373, allocations: 11.94 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.373, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.373, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.3736, allocations: 280.9 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.3737, allocations: 100.8 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.3738, allocations: 8.062 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.3739, allocations: 19.97 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.374, allocations: 35.97 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3741, allocations: 15.98 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001237/0.3742, allocations: 141.9 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3742, allocations: 0 / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003418/0.3745, allocations: 63.78 kB / 1.079 GB, free: 14.41 MB / 0.8419 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.0002176/0.3748, allocations: 116.6 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000806/0.3756, allocations: 323 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3756, allocations: 0 / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.3759, allocations: 120.4 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.3763, allocations: 42.62 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009167/0.3772, allocations: 471.8 kB / 1.08 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3776, allocations: 0.7597 MB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.3778, allocations: 38.28 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.3778, allocations: 31.42 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3778, allocations: 0 / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of Templates: time 0.007462/0.3853, allocations: 3.132 MB / 1.084 GB, free: 9.387 MB / 0.8419 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