Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 91.69 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.002083/0.002083, 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.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.969/2.969, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 10.38 kB / 0.9022 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3634, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.002328/0.3658, allocations: 1.31 MB / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3676, allocations: 1.139 MB / 1.06 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.368, allocations: 8 kB / 1.06 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.3682, allocations: 31.64 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.3684, allocations: 27.67 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.3688, allocations: 131.9 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.3692, allocations: 445 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.3696, allocations: 214.2 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.3697, allocations: 135.3 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.3699, allocations: 163 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.37, allocations: 16 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.348e-05/0.37, allocations: 16 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.3701, allocations: 63.62 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.3701, allocations: 93.45 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.3705, allocations: 0.5145 MB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3706, allocations: 0 / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3706, allocations: 0 / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3706, allocations: 0 / 1.062 GB, free: 0.9844 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001121/0.3717, allocations: 0.7094 MB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3717, allocations: 8.031 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.3718, allocations: 59.34 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.3729, allocations: 0.5183 MB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.373, allocations: 44.98 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.373, allocations: 47.95 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.3741, allocations: 0.5176 MB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3741, allocations: 0 / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.3741, allocations: 31.88 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.3742, allocations: 12 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3753, allocations: 469.9 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.377, allocations: 1.259 MB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/0.3779, allocations: 427.7 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.3785, allocations: 246.5 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/0.3786, allocations: 15.97 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3786, allocations: 42.52 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.803e-06/0.3786, allocations: 4 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001709/0.3803, allocations: 0.6387 MB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.3804, allocations: 114.7 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.3807, allocations: 282.7 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.3807, allocations: 33.7 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.3809, allocations: 216.2 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.381, allocations: 114.3 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.381, allocations: 12 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3811, allocations: 342.8 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.3816, allocations: 188.7 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.3822, allocations: 269.7 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.3827, allocations: 184.9 kB / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3827, allocations: 7.953 kB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001179/0.3839, allocations: 0.4955 MB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3839, allocations: 15.89 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.3839, allocations: 4.234 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.384, allocations: 8 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.3844, allocations: 107.9 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3844, allocations: 4 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.3848, allocations: 79.55 kB / 1.07 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.3848, allocations: 23.92 kB / 1.07 GB, free: 9.188 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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.0002222/0.385, allocations: 181.7 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.3851, allocations: 31.62 kB / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.3852, allocations: 42.16 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3852, allocations: 8 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3853, allocations: 0 / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3853, allocations: 3.984 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.3859, allocations: 453.2 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.3859, allocations: 0 / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.3863, allocations: 99.84 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.3863, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3863, allocations: 15.95 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3863, allocations: 3.984 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3863, allocations: 11.94 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3875, allocations: 0.7042 MB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.3876, allocations: 116.6 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.3876, allocations: 11.95 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.388, allocations: 47.94 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.3881, allocations: 67.92 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.3882, allocations: 8 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001561/0.3883, allocations: 178 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3883, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004651/0.3888, allocations: 91.59 kB / 1.072 GB, free: 7.039 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: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001635/0.389, allocations: 111.9 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.3902, allocations: 479.6 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3902, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.3908, allocations: 264.9 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.3913, allocations: 44.88 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3926, allocations: 0.8111 MB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.393, allocations: 0.8118 MB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002723/0.3933, allocations: 55.27 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3934, allocations: 39.42 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3934, allocations: 0 / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of Templates: time 0.008386/0.4018, allocations: 3.294 MB / 1.077 GB, free: 1.145 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches