Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001482/0.001482, allocations: 191.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.648/1.648, allocations: 251.6 MB / 0.5089 GB, free: 3.305 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.91 kB / 0.6218 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.655/0.6563, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.003888/0.6603, allocations: 1.445 MB / 0.7254 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004175/0.6608, allocations: 124.5 kB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.6608, allocations: 0 / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.6609, allocations: 0 / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.221e-05/0.661, allocations: 8 kB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.6612, allocations: 4 kB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.6613, allocations: 23.92 kB / 0.7256 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.6615, allocations: 4 kB / 0.7256 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.6616, allocations: 19.91 kB / 0.7256 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.6616, allocations: 11.98 kB / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.6617, allocations: 0 / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.6617, allocations: 4 kB / 0.7256 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.6617, allocations: 3.938 kB / 0.7256 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.6618, allocations: 4 kB / 0.7256 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.6619, allocations: 23.91 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.457e-06/0.6619, allocations: 4 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6619, allocations: 0 / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.6619, allocations: 0 / 0.7256 GB, free: 11.43 MB / 0.545 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.0005753/0.6625, allocations: 337.4 kB / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.6626, allocations: 8.031 kB / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.6626, allocations: 8.875 kB / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.6628, allocations: 168.3 kB / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.6628, allocations: 384 / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.6628, allocations: 4.375 kB / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.6631, allocations: 50.23 kB / 0.7262 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.6631, allocations: 192 / 0.7262 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.6632, allocations: 11.92 kB / 0.7262 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6632, allocations: 0 / 0.7262 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.6633, allocations: 27.97 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.6638, allocations: 268.8 kB / 0.7265 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.6639, allocations: 34.5 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.664, allocations: 24.91 kB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.6641, allocations: 3.938 kB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.6641, allocations: 38.55 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6641, allocations: 0 / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000373/0.6645, allocations: 81.59 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.6645, allocations: 51.41 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.6646, allocations: 101.8 kB / 0.7268 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.6647, allocations: 29.7 kB / 0.7268 GB, free: 10.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.6647, allocations: 80.27 kB / 0.7269 GB, free: 9.926 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.6647, allocations: 7.906 kB / 0.7269 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.6648, allocations: 21.7 kB / 0.7269 GB, free: 9.891 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6649, allocations: 310.8 kB / 0.7272 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.665, allocations: 15.98 kB / 0.7273 GB, free: 9.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.6651, allocations: 15.98 kB / 0.7273 GB, free: 9.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.6652, allocations: 40.88 kB / 0.7273 GB, free: 9.504 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6652, allocations: 0 / 0.7273 GB, free: 9.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000215/0.6655, allocations: 69.55 kB / 0.7274 GB, free: 9.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6655, allocations: 4 kB / 0.7274 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.6655, allocations: 0 / 0.7274 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.6655, allocations: 7.984 kB / 0.7274 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.6656, allocations: 4 kB / 0.7274 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.6656, allocations: 4.031 kB / 0.7274 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.6657, allocations: 15.89 kB / 0.7274 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.6657, allocations: 0 / 0.7274 GB, free: 9.395 MB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.028e-05/0.6658, allocations: 113.8 kB / 0.7275 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.6658, allocations: 0 / 0.7275 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.6661, allocations: 72.72 kB / 0.7276 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6661, allocations: 8.031 kB / 0.7276 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.6661, allocations: 3.984 kB / 0.7276 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6661, allocations: 0 / 0.7276 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.6663, allocations: 161.6 kB / 0.7278 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6663, allocations: 0 / 0.7278 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.6664, allocations: 7.984 kB / 0.7278 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6664, allocations: 4 kB / 0.7278 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.6664, allocations: 3.938 kB / 0.7278 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6664, allocations: 0 / 0.7278 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6664, allocations: 0 / 0.7278 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.6667, allocations: 163.5 kB / 0.7279 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.6667, allocations: 81.11 kB / 0.728 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.6667, allocations: 0 / 0.728 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.6668, allocations: 7.984 kB / 0.728 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.6669, allocations: 4 kB / 0.728 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.6669, allocations: 3.938 kB / 0.728 GB, free: 8.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.532e-05/0.6669, allocations: 87.25 kB / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6669, allocations: 0 / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002128/0.6671, allocations: 0 / 0.7281 GB, free: 8.586 MB / 0.545 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 () * Number of clocked 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 (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.0001782/0.6673, allocations: 107.2 kB / 0.7282 GB, free: 8.469 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.6676, allocations: 31.97 kB / 0.7282 GB, free: 8.438 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6676, allocations: 8.062 kB / 0.7282 GB, free: 8.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.6677, allocations: 15.97 kB / 0.7283 GB, free: 8.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.6679, allocations: 15.88 kB / 0.7283 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.6683, allocations: 113.3 kB / 0.7284 GB, free: 8.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.6686, allocations: 0.6729 MB / 0.729 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.6686, allocations: 4.391 kB / 0.729 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.6686, allocations: 11.42 kB / 0.729 GB, free: 7.547 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.6687, allocations: 0 / 0.729 GB, free: 7.547 MB / 0.545 GB Notification: Performance of Templates: time 0.002793/0.6714, allocations: 384.5 kB / 0.7294 GB, free: 7.172 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)