Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.59/1.59, allocations: 297.8 MB / 313.7 MB, free: 52 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009597/0.0009598, allocations: 187.4 kB / 384.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007085/0.0007084, allocations: 100.3 kB / 0.7808 GB, free: 50.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 12 kB / 0.9088 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5573/0.5577, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.7072, allocations: 140.7 MB / 1.164 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.7074, allocations: 72.61 kB / 1.164 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001436/0.7089, allocations: 0.6742 MB / 1.164 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7089, allocations: 1.219 kB / 1.164 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.7089, allocations: 0 / 1.164 GB, free: 1.84 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000217/0.7091, allocations: 332.2 kB / 1.165 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.7091, allocations: 9.188 kB / 1.165 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.7092, allocations: 2.969 kB / 1.165 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.7093, allocations: 171 kB / 1.165 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.7093, allocations: 1.062 kB / 1.165 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.7093, allocations: 6.469 kB / 1.165 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.7094, allocations: 42.2 kB / 1.165 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7094, allocations: 192 / 1.165 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.7094, allocations: 3.938 kB / 1.165 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.7095, allocations: 3.406 kB / 1.165 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.293e-05/0.7095, allocations: 15.38 kB / 1.165 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001153/0.7096, allocations: 156.4 kB / 1.165 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.852e-05/0.7097, allocations: 24.16 kB / 1.165 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.7098, allocations: 19.73 kB / 1.165 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.7098, allocations: 0.9375 kB / 1.165 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.7098, allocations: 36.88 kB / 1.165 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.7098, allocations: 0 / 1.165 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001842/0.71, allocations: 61.88 kB / 1.165 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.71, allocations: 52.75 kB / 1.165 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.7101, allocations: 107.8 kB / 1.165 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.7101, allocations: 26.45 kB / 1.166 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.7101, allocations: 81.8 kB / 1.166 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.7101, allocations: 3.906 kB / 1.166 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.7102, allocations: 1 kB / 1.166 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.7102, allocations: 321.2 kB / 1.166 GB, free: 248 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.7102, allocations: 10.09 kB / 1.166 GB, free: 240 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.7103, allocations: 10.61 kB / 1.166 GB, free: 232 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.381e-05/0.7103, allocations: 25.58 kB / 1.166 GB, free: 208 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7104, allocations: 1.812 kB / 1.166 GB, free: 208 kB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.819e-05/0.7105, allocations: 52.05 kB / 1.166 GB, free: 156 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.7105, allocations: 5.078 kB / 1.166 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7105, allocations: 5 kB / 1.166 GB, free: 148 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.7105, allocations: 4 kB / 1.166 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.7106, allocations: 6.641 kB / 1.166 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.7106, allocations: 1.031 kB / 1.166 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.7106, allocations: 0.9844 kB / 1.166 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.7106, allocations: 5.094 kB / 1.166 GB, free: 136 kB / 0.7292 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 (1): * Single equations (assignments): 1 * 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 4.126e-05/0.7107, allocations: 111.4 kB / 1.166 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/0.7107, allocations: 2.656 kB / 1.166 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.552e-05/0.7107, allocations: 8.094 kB / 1.166 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7107, allocations: 6.062 kB / 1.166 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.7107, allocations: 0.6562 kB / 1.166 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.7107, allocations: 1.062 kB / 1.166 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.7108, allocations: 150.9 kB / 1.166 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7108, allocations: 4 kB / 1.166 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.7109, allocations: 5.984 kB / 1.166 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7109, allocations: 4.219 kB / 1.166 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.7109, allocations: 3.938 kB / 1.166 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.7109, allocations: 0 / 1.166 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7109, allocations: 3.438 kB / 1.166 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.711, allocations: 72.48 kB / 1.166 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.7111, allocations: 82.05 kB / 1.166 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.7111, allocations: 8.453 kB / 1.166 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.642e-05/0.7111, allocations: 2.047 kB / 1.166 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.7112, allocations: 9.203 kB / 1.166 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.7112, allocations: 1.219 kB / 1.166 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.7112, allocations: 85.44 kB / 1.167 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7112, allocations: 0 / 1.167 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000175/0.7114, allocations: 0.6562 kB / 1.167 GB, free: 15.53 MB / 0.7448 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 (1): * Single equations (assignments): 1 * 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 9.887e-05/0.7115, allocations: 102.8 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.7116, allocations: 20.11 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.7116, allocations: 0 / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.7117, allocations: 12.88 kB / 1.167 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.7118, allocations: 4 kB / 1.167 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.712, allocations: 116.7 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.7123, allocations: 0.6763 MB / 1.167 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.7123, allocations: 2.062 kB / 1.167 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.7123, allocations: 7.438 kB / 1.167 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.7123, allocations: 0 / 1.167 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of Templates: time 0.001715/0.714, allocations: 248 kB / 1.168 GB, free: 14.43 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)