Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 103.3 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.5 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.599/3.599, allocations: 0.49 GB / 0.7916 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_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=2500,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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 63.12 kB / 1.149 GB, free: 26.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4429, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.00399/0.4469, allocations: 1.766 MB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.4492, allocations: 1.198 MB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.4496, allocations: 4 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.4498, allocations: 55.27 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.45, allocations: 59.34 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.4504, allocations: 187.8 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005397/0.4509, allocations: 0.4969 MB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.4514, allocations: 220.7 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.4516, allocations: 203.3 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.4519, allocations: 246.8 kB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.452, allocations: 56 kB / 1.326 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.225e-05/0.4521, allocations: 60 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.4522, allocations: 123.6 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.4524, allocations: 238.7 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007934/0.4532, allocations: 0.7001 MB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4532, allocations: 0 / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4532, allocations: 0 / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.4532, allocations: 4 kB / 1.327 GB, free: 13.24 MB / 1.029 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.001464/0.4547, allocations: 0.7674 MB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4547, allocations: 15.98 kB / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.4548, allocations: 56.56 kB / 1.328 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.4561, allocations: 496.1 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.4561, allocations: 41.38 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.4562, allocations: 40.38 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.4574, allocations: 0.4986 MB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4574, allocations: 8.125 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.4574, allocations: 19.94 kB / 1.329 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.4574, allocations: 15.94 kB / 1.329 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.4588, allocations: 425.9 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.4607, allocations: 1.24 MB / 1.33 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.4617, allocations: 395.7 kB / 1.331 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/0.4623, allocations: 202.5 kB / 1.331 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.4624, allocations: 7.984 kB / 1.331 GB, free: 8.848 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.4624, allocations: 34.56 kB / 1.331 GB, free: 8.805 MB / 1.029 GB Notification: Performance of pre-optimization done (n=41): time 3.366e-06/0.4624, allocations: 0 / 1.331 GB, free: 8.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.002024/0.4644, allocations: 0.569 MB / 1.331 GB, free: 8.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/0.4645, allocations: 118.6 kB / 1.332 GB, free: 8.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.4649, allocations: 290.8 kB / 1.332 GB, free: 7.793 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.4649, allocations: 33.7 kB / 1.332 GB, free: 7.754 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.4651, allocations: 228.5 kB / 1.332 GB, free: 7.527 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.4652, allocations: 127 kB / 1.332 GB, free: 7.402 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.4654, allocations: 94.11 kB / 1.332 GB, free: 7.301 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4656, allocations: 346.8 kB / 1.333 GB, free: 6.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/0.4661, allocations: 156.7 kB / 1.333 GB, free: 6.801 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/0.4668, allocations: 249.7 kB / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.468, allocations: 396.1 kB / 1.333 GB, free: 6.105 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.468, allocations: 0 / 1.333 GB, free: 6.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001366/0.4693, allocations: 476.8 kB / 1.334 GB, free: 5.633 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.4693, allocations: 8 kB / 1.334 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4693, allocations: 0 / 1.334 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.4694, allocations: 8 kB / 1.334 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.4699, allocations: 104 kB / 1.334 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.4699, allocations: 8 kB / 1.334 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.4702, allocations: 55.73 kB / 1.334 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.4703, allocations: 19.98 kB / 1.334 GB, free: 5.434 MB / 1.029 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 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003419/0.4706, allocations: 181.4 kB / 1.334 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.4707, allocations: 39.77 kB / 1.334 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.4708, allocations: 42.2 kB / 1.334 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.4709, allocations: 7.938 kB / 1.334 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4709, allocations: 0 / 1.334 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.4709, allocations: 7.984 kB / 1.334 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000759/0.4716, allocations: 457.2 kB / 1.335 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4716, allocations: 0 / 1.335 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.4721, allocations: 87.86 kB / 1.335 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.4721, allocations: 4 kB / 1.335 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.4721, allocations: 11.98 kB / 1.335 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4721, allocations: 3.938 kB / 1.335 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.4721, allocations: 0 / 1.335 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.4737, allocations: 0.6651 MB / 1.335 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.4738, allocations: 108.8 kB / 1.336 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.4738, allocations: 8 kB / 1.336 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.4742, allocations: 47.88 kB / 1.336 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.4744, allocations: 55.94 kB / 1.336 GB, free: 3.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.4744, allocations: 12 kB / 1.336 GB, free: 3.613 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002094/0.4746, allocations: 182 kB / 1.336 GB, free: 3.438 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4746, allocations: 3.938 kB / 1.336 GB, free: 3.434 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005628/0.4752, allocations: 91.73 kB / 1.336 GB, free: 3.344 MB / 1.029 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 (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.0002389/0.4754, allocations: 116.1 kB / 1.336 GB, free: 3.223 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.4768, allocations: 401.2 kB / 1.336 GB, free: 2.832 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4768, allocations: 4 kB / 1.336 GB, free: 2.828 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006889/0.4775, allocations: 224.4 kB / 1.337 GB, free: 2.609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.4781, allocations: 56 kB / 1.337 GB, free: 2.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.4796, allocations: 0.7092 MB / 1.337 GB, free: 1.812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.4801, allocations: 0.8153 MB / 1.338 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00022/0.4804, allocations: 59.25 kB / 1.338 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.4805, allocations: 43.42 kB / 1.338 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.4805, allocations: 0 / 1.338 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of Templates: time 0.009394/0.4899, allocations: 3.966 MB / 1.342 GB, free: 12.96 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.165749246254563]