Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadModel(Buildings): time 3.713/3.713, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.191e-05, allocations: 7.922 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1741, allocations: 98.72 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/0.3902, allocations: 124.2 MB / 0.7561 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.3905, allocations: 71.95 kB / 0.7561 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002275/0.3928, allocations: 0.6648 MB / 0.7568 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.249e-06/0.3928, allocations: 0 / 0.7568 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.111e-06/0.3928, allocations: 4 kB / 0.7568 GB, free: 4.758 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003924/0.3932, allocations: 338.4 kB / 0.7571 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3933, allocations: 8.031 kB / 0.7571 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.3933, allocations: 4 kB / 0.7571 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3935, allocations: 167 kB / 0.7573 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3935, allocations: 0 / 0.7573 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-06/0.3935, allocations: 0 / 0.7573 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.3937, allocations: 49.67 kB / 0.7573 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3937, allocations: 7.938 kB / 0.7573 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-06/0.3937, allocations: 0 / 0.7573 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3937, allocations: 0 / 0.7573 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.836e-05/0.3938, allocations: 12 kB / 0.7573 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.3943, allocations: 260.9 kB / 0.7576 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.283e-05/0.3944, allocations: 30.61 kB / 0.7576 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.3944, allocations: 12.92 kB / 0.7576 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3944, allocations: 0 / 0.7576 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.3945, allocations: 38.5 kB / 0.7577 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.983e-06/0.3945, allocations: 0 / 0.7577 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.3947, allocations: 41.61 kB / 0.7577 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.3947, allocations: 55.44 kB / 0.7578 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.3948, allocations: 96.94 kB / 0.7579 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3949, allocations: 25.7 kB / 0.7579 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.3949, allocations: 88.14 kB / 0.758 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.395, allocations: 11.83 kB / 0.758 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.395, allocations: 0 / 0.758 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3951, allocations: 310.8 kB / 0.7583 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.3952, allocations: 8 kB / 0.7583 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.3953, allocations: 8 kB / 0.7583 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.3953, allocations: 11.94 kB / 0.7583 GB, free: 3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.355e-06/0.3953, allocations: 0 / 0.7583 GB, free: 3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001604/0.3955, allocations: 41.69 kB / 0.7583 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3956, allocations: 4 kB / 0.7583 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.485e-06/0.3956, allocations: 4 kB / 0.7583 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3956, allocations: 0 / 0.7583 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3957, allocations: 11.98 kB / 0.7584 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.3957, allocations: 4.094 kB / 0.7584 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.3958, allocations: 4 kB / 0.7584 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.803e-06/0.3959, allocations: 7.953 kB / 0.7584 GB, free: 2.918 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.318e-05/0.3959, allocations: 105 kB / 0.7585 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.396, allocations: 0 / 0.7585 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.3961, allocations: 52.75 kB / 0.7585 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.871e-06/0.3962, allocations: 0 / 0.7585 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.152e-06/0.3962, allocations: 4.031 kB / 0.7585 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.541e-06/0.3962, allocations: 3.938 kB / 0.7585 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.3964, allocations: 157.6 kB / 0.7587 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-06/0.3964, allocations: 0 / 0.7587 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.313e-05/0.3965, allocations: 11.98 kB / 0.7587 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.932e-06/0.3965, allocations: 0 / 0.7587 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3966, allocations: 8 kB / 0.7587 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.433e-06/0.3966, allocations: 0 / 0.7587 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3966, allocations: 0 / 0.7587 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.3968, allocations: 151.3 kB / 0.7588 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.3968, allocations: 77.11 kB / 0.7589 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3968, allocations: 0 / 0.7589 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.397, allocations: 7.984 kB / 0.7589 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.397, allocations: 4 kB / 0.7589 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-06/0.397, allocations: 0 / 0.7589 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.939e-05/0.3971, allocations: 91.48 kB / 0.759 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.46e-06/0.3971, allocations: 0 / 0.759 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002894/0.3974, allocations: 7.938 kB / 0.759 GB, free: 2.156 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001439/0.3976, allocations: 103.2 kB / 0.7591 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.956e-05/0.3977, allocations: 12 kB / 0.7591 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.296e-06/0.3977, allocations: 0 / 0.7591 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.3977, allocations: 12 kB / 0.7591 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.398, allocations: 19.89 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.3982, allocations: 56.98 kB / 0.7592 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.3986, allocations: 0.6809 MB / 0.7599 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.3986, allocations: 0 / 0.7599 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.3987, allocations: 7.438 kB / 0.7599 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of SimCode: time 1.881e-06/0.3987, allocations: 0 / 0.7599 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of Templates: time 0.002601/0.4013, allocations: 367.6 kB / 0.7602 GB, free: 0.8555 MB / 0.6355 GB