Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 293 MB / 309 MB, free: 4.824 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 182.8 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.4 MB / 0.6383 GB, free: 8.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007045/0.0007044, allocations: 85.47 kB / 0.7527 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003958, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2688, allocations: 116.4 MB / 0.9905 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7678/1.037, allocations: 138.6 MB / 1.126 GB, free: 35.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/1.037, allocations: 69.08 kB / 1.126 GB, free: 34.99 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001616/1.039, allocations: 0.6248 MB / 1.126 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.908e-06/1.039, allocations: 0.6875 kB / 1.126 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.118e-06/1.039, allocations: 0 / 1.126 GB, free: 34.46 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.0003461/1.039, allocations: 333.2 kB / 1.127 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.245e-05/1.039, allocations: 12.03 kB / 1.127 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/1.039, allocations: 8.625 kB / 1.127 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/1.039, allocations: 171.7 kB / 1.127 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/1.039, allocations: 6.234 kB / 1.127 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/1.039, allocations: 4.375 kB / 1.127 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/1.039, allocations: 52.7 kB / 1.127 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/1.039, allocations: 4.906 kB / 1.127 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.04, allocations: 7.938 kB / 1.127 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/1.04, allocations: 0 / 1.127 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/1.04, allocations: 42.22 kB / 1.127 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/1.04, allocations: 246.5 kB / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/1.04, allocations: 49.97 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/1.04, allocations: 29.03 kB / 1.127 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/1.04, allocations: 4 kB / 1.127 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/1.04, allocations: 30.56 kB / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.04, allocations: 0 / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003278/1.041, allocations: 95.58 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/1.041, allocations: 55.34 kB / 1.128 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/1.041, allocations: 105.5 kB / 1.128 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/1.041, allocations: 25.7 kB / 1.128 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/1.041, allocations: 87.98 kB / 1.128 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/1.041, allocations: 7.906 kB / 1.128 GB, free: 33 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/1.041, allocations: 0 / 1.128 GB, free: 33 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.508e-05/1.041, allocations: 319 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-05/1.041, allocations: 15.47 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/1.041, allocations: 30.84 kB / 1.128 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/1.041, allocations: 43.84 kB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.041, allocations: 0 / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/1.041, allocations: 87.95 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.041, allocations: 4 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.041, allocations: 4.031 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.041, allocations: 0.6094 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.809e-05/1.042, allocations: 8 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.042, allocations: 11.41 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/1.042, allocations: 4.5 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/1.042, allocations: 0 / 1.128 GB, free: 32.51 MB / 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 5.282e-05/1.042, allocations: 122.3 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/1.042, allocations: 3.516 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/1.042, allocations: 3.125 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/1.042, allocations: 1.031 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.042, allocations: 8.562 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/1.042, allocations: 0 / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/1.042, allocations: 161.2 kB / 1.129 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/1.042, allocations: 0 / 1.129 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/1.042, allocations: 9.188 kB / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.042, allocations: 3.562 kB / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/1.042, allocations: 0 / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/1.042, allocations: 0 / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.042, allocations: 0.6562 kB / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/1.042, allocations: 182.1 kB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/1.042, allocations: 77.11 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/1.042, allocations: 0 / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/1.042, allocations: 15.36 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/1.042, allocations: 2.656 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/1.042, allocations: 0.6562 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.501e-05/1.042, allocations: 87.64 kB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.042, allocations: 0 / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001977/1.043, allocations: 7.906 kB / 1.129 GB, free: 31.79 MB / 0.7292 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.0001371/1.043, allocations: 99.25 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001761/1.043, allocations: 54.34 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.043, allocations: 0 / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/1.043, allocations: 35.22 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/1.043, allocations: 8.859 kB / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/1.044, allocations: 107.4 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/1.044, allocations: 0.6775 MB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.185e-05/1.044, allocations: 0 / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/1.044, allocations: 11.44 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.044, allocations: 64 / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.00206/1.046, allocations: 357.9 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)