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.001793/0.001793, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002285/0.002285, allocations: 220.6 kB / 23.01 MB, free: 4.605 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.136/3.136, allocations: 0.49 GB / 0.7958 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.002025/0.002025, allocations: 64.62 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3518, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.003283/0.3551, allocations: 1.773 MB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3568, allocations: 1.198 MB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.3569, allocations: 8 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.3571, allocations: 51.33 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.3572, allocations: 55.34 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.3576, allocations: 187.7 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005235/0.3582, allocations: 0.5048 MB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.3586, allocations: 213.2 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.3589, allocations: 211.3 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.3591, allocations: 250.8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.439e-05/0.3592, allocations: 56 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.408e-05/0.3593, allocations: 60 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.3594, allocations: 119.6 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.3596, allocations: 246.7 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007494/0.3604, allocations: 0.6923 MB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3604, allocations: 0 / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3604, allocations: 3.938 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.3604, allocations: 0 / 1.333 GB, free: 11.8 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.001336/0.3617, allocations: 0.696 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3618, allocations: 16.02 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.3619, allocations: 56.56 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.363, allocations: 416.5 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.3631, allocations: 41.38 kB / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-05/0.3631, allocations: 48.38 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.3642, allocations: 0.4946 MB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3642, allocations: 192 / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.3642, allocations: 31.88 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3642, allocations: 12 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.3654, allocations: 430.1 kB / 1.335 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.3672, allocations: 1.193 MB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000913/0.3681, allocations: 387.8 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.3686, allocations: 210.5 kB / 1.337 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.827e-05/0.3687, allocations: 4 kB / 1.337 GB, free: 7.641 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.3687, allocations: 42.5 kB / 1.337 GB, free: 7.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=41): time 2.073e-06/0.3687, allocations: 0 / 1.337 GB, free: 7.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.001781/0.3705, allocations: 0.5688 MB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.253e-05/0.3706, allocations: 114.7 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.3709, allocations: 288 kB / 1.338 GB, free: 6.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.3709, allocations: 33.7 kB / 1.338 GB, free: 6.551 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.3711, allocations: 220.7 kB / 1.338 GB, free: 6.328 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.3712, allocations: 126.9 kB / 1.338 GB, free: 6.203 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.3714, allocations: 94.11 kB / 1.338 GB, free: 6.102 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3715, allocations: 350.7 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/0.372, allocations: 164.7 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.3726, allocations: 246.5 kB / 1.339 GB, free: 5.316 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.3736, allocations: 395.1 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3736, allocations: 7.938 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001203/0.3748, allocations: 482.5 kB / 1.34 GB, free: 4.414 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3748, allocations: 4 kB / 1.34 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3748, allocations: 4 kB / 1.34 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3749, allocations: 4 kB / 1.34 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.3753, allocations: 108 kB / 1.34 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3753, allocations: 4 kB / 1.34 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.3756, allocations: 59.72 kB / 1.34 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.3757, allocations: 16 kB / 1.34 GB, free: 4.219 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.0002941/0.376, allocations: 181.5 kB / 1.34 GB, free: 4.031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3761, allocations: 35.77 kB / 1.34 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.43e-05/0.3762, allocations: 42.14 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.3762, allocations: 7.938 kB / 1.34 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3762, allocations: 0 / 1.34 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3762, allocations: 3.984 kB / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.3768, allocations: 436.2 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3768, allocations: 3.938 kB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.3772, allocations: 83.86 kB / 1.34 GB, free: 3.391 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3772, allocations: 0 / 1.34 GB, free: 3.391 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.3773, allocations: 15.98 kB / 1.341 GB, free: 3.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3773, allocations: 7.938 kB / 1.341 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3773, allocations: 0 / 1.341 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.3785, allocations: 0.6496 MB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.3786, allocations: 39.7 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.3786, allocations: 8 kB / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.3789, allocations: 47.88 kB / 1.341 GB, free: 2.605 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.3791, allocations: 63.86 kB / 1.341 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.3791, allocations: 11.98 kB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001717/0.3793, allocations: 183 kB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3793, allocations: 4 kB / 1.341 GB, free: 2.348 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004529/0.3797, allocations: 91.67 kB / 1.342 GB, free: 2.258 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.0001553/0.3799, allocations: 119.2 kB / 1.342 GB, free: 2.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.3811, allocations: 396 kB / 1.342 GB, free: 1.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3811, allocations: 0.5 kB / 1.342 GB, free: 1.742 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005801/0.3816, allocations: 212.1 kB / 1.342 GB, free: 1.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.3822, allocations: 53.11 kB / 1.342 GB, free: 1.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.3835, allocations: 0.7264 MB / 1.343 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.384, allocations: 0.8114 MB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3841, allocations: 51.42 kB / 1.344 GB, free: 15.82 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.3841, allocations: 0 / 1.344 GB, free: 15.82 MB / 1.045 GB Notification: Performance of Templates: time 0.007856/0.392, allocations: 4.881 MB / 1.349 GB, free: 10.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/jenkins1/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: 11.324998805997893]