Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.577/1.577, allocations: 297.8 MB / 313.7 MB, free: 48 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.0009963/0.0009963, allocations: 188.5 kB / 384.6 MB, free: 10.78 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.277/1.277, allocations: 223.2 MB / 0.6626 GB, free: 4.188 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.0008225/0.0008227, allocations: 94.86 kB / 0.7808 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003792, allocations: 16 kB / 0.9088 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6217/0.6221, allocations: 120.3 MB / 1.026 GB, free: 56 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.7885, allocations: 140.8 MB / 1.164 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.7888, allocations: 68.38 kB / 1.164 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001561/0.7903, allocations: 0.6764 MB / 1.165 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7904, allocations: 0.625 kB / 1.165 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.7904, allocations: 0 / 1.165 GB, free: 1.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002726/0.7907, allocations: 330.2 kB / 1.165 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.7907, allocations: 12.03 kB / 1.165 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.7907, allocations: 3.812 kB / 1.165 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.21e-05/0.7908, allocations: 178.2 kB / 1.165 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.7908, allocations: 384 / 1.165 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.7908, allocations: 4.375 kB / 1.165 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.791, allocations: 57.19 kB / 1.165 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.791, allocations: 0.6875 kB / 1.165 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.791, allocations: 4.625 kB / 1.165 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.7911, allocations: 1.484 kB / 1.165 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.7912, allocations: 46.09 kB / 1.165 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.7915, allocations: 242.9 kB / 1.165 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.7916, allocations: 49.78 kB / 1.165 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.7917, allocations: 27.97 kB / 1.165 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.7917, allocations: 0 / 1.165 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.7917, allocations: 41.06 kB / 1.166 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7917, allocations: 0 / 1.166 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003145/0.792, allocations: 95.58 kB / 1.166 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.7921, allocations: 52.97 kB / 1.166 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.048e-05/0.7921, allocations: 99.83 kB / 1.166 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.7921, allocations: 30.23 kB / 1.166 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.7922, allocations: 85.86 kB / 1.166 GB, free: 500 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.7922, allocations: 8.75 kB / 1.166 GB, free: 492 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.7922, allocations: 0.5 kB / 1.166 GB, free: 492 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.203e-05/0.7923, allocations: 313.3 kB / 1.166 GB, free: 172 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.7923, allocations: 25.31 kB / 1.166 GB, free: 152 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.7924, allocations: 18.97 kB / 1.166 GB, free: 140 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.7925, allocations: 48.2 kB / 1.166 GB, free: 100 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.7926, allocations: 5.5 kB / 1.166 GB, free: 96 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001695/0.7927, allocations: 83.36 kB / 1.166 GB, free: 20 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.7928, allocations: 4.656 kB / 1.166 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7928, allocations: 0 / 1.166 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7928, allocations: 0 / 1.166 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.7929, allocations: 13.77 kB / 1.166 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.7929, allocations: 0.6562 kB / 1.166 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.793, allocations: 22.64 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.793, allocations: 1.219 kB / 1.166 GB, free: 0 / 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 (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.43e-05/0.7931, allocations: 114.1 kB / 1.166 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.7931, allocations: 1.594 kB / 1.166 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.7933, allocations: 84.86 kB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.7934, allocations: 0 / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7934, allocations: 0.7812 kB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7934, allocations: 3.938 kB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.7935, allocations: 159.9 kB / 1.167 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7935, allocations: 5.016 kB / 1.167 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.7936, allocations: 14.28 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.7936, allocations: 0 / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.7936, allocations: 0 / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7937, allocations: 3.312 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7937, allocations: 4.578 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.7939, allocations: 175.5 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.794, allocations: 81.86 kB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.794, allocations: 0.75 kB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.7941, allocations: 6.906 kB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.7941, allocations: 8.844 kB / 1.167 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.7941, allocations: 0.5625 kB / 1.167 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.713e-05/0.7942, allocations: 80.69 kB / 1.167 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7942, allocations: 0 / 1.167 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002007/0.7944, allocations: 4 kB / 1.167 GB, free: 15.23 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 (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.000137/0.7945, allocations: 104.4 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.7948, allocations: 50.92 kB / 1.167 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7948, allocations: 0 / 1.167 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/0.7949, allocations: 21.48 kB / 1.167 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.7951, allocations: 14.8 kB / 1.167 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.7954, allocations: 109.7 kB / 1.167 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.7958, allocations: 0.676 MB / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.7958, allocations: 0 / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.7958, allocations: 15.38 kB / 1.168 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.7958, allocations: 1.125 kB / 1.168 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.002124/0.798, allocations: 355.4 kB / 1.168 GB, free: 14.02 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)