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.001252/0.001252, 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.001957/0.001957, allocations: 196.5 kB / 16.54 MB, free: 6.672 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.486/1.486, 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.028/3.028, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 62.66 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4264, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.002906/0.4293, allocations: 1.335 MB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.4311, allocations: 1.33 MB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.4312, allocations: 4 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.773e-05/0.4313, allocations: 35.53 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.4315, allocations: 39.53 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.432, allocations: 219.6 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.4324, allocations: 380.2 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.4326, allocations: 180.9 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.4328, allocations: 147.5 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.433, allocations: 167.2 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.4331, allocations: 40 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.4332, allocations: 59.98 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.4332, allocations: 75.73 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.4334, allocations: 163.2 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.4338, allocations: 462.8 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4339, allocations: 0 / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4339, allocations: 0 / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.4339, allocations: 0 / 1.073 GB, free: 5.73 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.001104/0.435, allocations: 0.6449 MB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.435, allocations: 12.03 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.4351, allocations: 32.56 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/0.436, allocations: 362.2 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.436, allocations: 24.94 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.4361, allocations: 28.38 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.4367, allocations: 312.3 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4367, allocations: 7.875 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.4368, allocations: 12 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4368, allocations: 12 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006433/0.4374, allocations: 216.5 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.4387, allocations: 0.9908 MB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/0.4392, allocations: 215.8 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.4396, allocations: 110.6 kB / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.4396, allocations: 4 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/0.4401, allocations: 178.7 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.946e-06/0.4401, allocations: 0 / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.001024/0.4411, allocations: 313.1 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.4412, allocations: 110.8 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.4414, allocations: 228 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.4415, allocations: 29.7 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4416, allocations: 180.2 kB / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-05/0.4417, allocations: 63.09 kB / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.4418, allocations: 77.67 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4419, allocations: 334.8 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.4423, allocations: 100.2 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.4427, allocations: 200 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.4433, allocations: 292.6 kB / 1.078 GB, free: 328 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4434, allocations: 3.938 kB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008945/0.4443, allocations: 366.9 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.4443, allocations: 41.62 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4443, allocations: 0 / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4443, allocations: 4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.4446, allocations: 59.88 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4447, allocations: 4 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.445, allocations: 59.83 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.445, allocations: 24.61 kB / 1.078 GB, free: 15.75 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.0001604/0.4452, allocations: 150 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.4452, allocations: 31.66 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.4453, allocations: 25.39 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4453, allocations: 7.938 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4453, allocations: 4 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4453, allocations: 4 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.4457, allocations: 317.5 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4457, allocations: 3.938 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.4459, allocations: 39.95 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4459, allocations: 3.938 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4459, allocations: 8 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4459, allocations: 3.938 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4459, allocations: 4 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.4466, allocations: 273.5 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.4467, allocations: 100.8 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.4467, allocations: 11.92 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.4469, allocations: 19.98 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.447, allocations: 35.95 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.447, allocations: 4 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001073/0.4471, allocations: 145.9 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4471, allocations: 0 / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003089/0.4475, allocations: 71.77 kB / 1.079 GB, free: 14.42 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.0001836/0.4477, allocations: 119.2 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008256/0.4485, allocations: 311.5 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4485, allocations: 4.125 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.4489, allocations: 123.8 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.4492, allocations: 46.89 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.000887/0.4501, allocations: 458.8 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4505, allocations: 0.7597 MB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.4506, allocations: 42.28 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.4507, allocations: 27.44 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4507, allocations: 0 / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of Templates: time 0.00805/0.4588, allocations: 3.141 MB / 1.084 GB, free: 9.395 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