Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.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.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.558/1.558, allocations: 297.8 MB / 313.7 MB, free: 128 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.0008807/0.0008807, allocations: 189.8 kB / 384.6 MB, free: 10.85 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.299/1.299, allocations: 223.2 MB / 0.6626 GB, free: 4.344 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.0007737/0.0007739, allocations: 89.47 kB / 0.7808 GB, free: 43.7 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 26.42 kB / 0.9088 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5302/0.5306, allocations: 120.3 MB / 1.026 GB, free: 56.85 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.7027, allocations: 140.7 MB / 1.164 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.703, allocations: 71.95 kB / 1.164 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001525/0.7045, allocations: 0.6234 MB / 1.164 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7045, allocations: 0 / 1.164 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.7046, allocations: 4 kB / 1.164 GB, free: 0.7891 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.0003304/0.7049, allocations: 336.2 kB / 1.165 GB, free: 424 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.7049, allocations: 8.031 kB / 1.165 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.705, allocations: 0.9375 kB / 1.165 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.7051, allocations: 173.6 kB / 1.165 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.7051, allocations: 5.375 kB / 1.165 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.7051, allocations: 384 / 1.165 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.7053, allocations: 58.92 kB / 1.165 GB, free: 140 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.7053, allocations: 0.7812 kB / 1.165 GB, free: 140 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.7053, allocations: 7.938 kB / 1.165 GB, free: 132 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.7053, allocations: 0.75 kB / 1.165 GB, free: 132 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.7055, allocations: 47.3 kB / 1.165 GB, free: 88 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.7058, allocations: 242.5 kB / 1.165 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.7059, allocations: 51.28 kB / 1.165 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.706, allocations: 33.81 kB / 1.165 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.7061, allocations: 0 / 1.165 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.7061, allocations: 35.2 kB / 1.165 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.7061, allocations: 0 / 1.165 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000333/0.7064, allocations: 93.64 kB / 1.165 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.7065, allocations: 63.34 kB / 1.166 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.7066, allocations: 97.84 kB / 1.166 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.7066, allocations: 25.7 kB / 1.166 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.7066, allocations: 84.14 kB / 1.166 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.7066, allocations: 3.906 kB / 1.166 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.7066, allocations: 12.06 kB / 1.166 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.7068, allocations: 310.8 kB / 1.166 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.7068, allocations: 19.98 kB / 1.166 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.7069, allocations: 23.97 kB / 1.166 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.7071, allocations: 48.89 kB / 1.166 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7071, allocations: 0 / 1.166 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001755/0.7072, allocations: 91.45 kB / 1.166 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.7073, allocations: 4 kB / 1.166 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7073, allocations: 4 kB / 1.166 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.7073, allocations: 0 / 1.166 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.7074, allocations: 11.98 kB / 1.166 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7074, allocations: 0 / 1.166 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.7075, allocations: 11.94 kB / 1.166 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.7075, allocations: 4 kB / 1.166 GB, free: 14.72 MB / 0.7448 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 7.7e-05/0.7075, allocations: 113.8 kB / 1.166 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.7076, allocations: 0 / 1.166 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.7076, allocations: 11.12 kB / 1.166 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7076, allocations: 0 / 1.166 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7076, allocations: 0 / 1.166 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7076, allocations: 0 / 1.166 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.7078, allocations: 157.6 kB / 1.167 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7078, allocations: 4 kB / 1.167 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.7078, allocations: 11.98 kB / 1.167 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7079, allocations: 0 / 1.167 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.7079, allocations: 0 / 1.167 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7079, allocations: 4 kB / 1.167 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7079, allocations: 0 / 1.167 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.7081, allocations: 175.4 kB / 1.167 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.7081, allocations: 81.05 kB / 1.167 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.7082, allocations: 11.98 kB / 1.167 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.7082, allocations: 8 kB / 1.167 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.7083, allocations: 8.016 kB / 1.167 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.7083, allocations: 4 kB / 1.167 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.385e-05/0.7083, allocations: 77.16 kB / 1.167 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7083, allocations: 0 / 1.167 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001938/0.7085, allocations: 4 kB / 1.167 GB, free: 13.97 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.000154/0.7087, allocations: 103.8 kB / 1.167 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.7089, allocations: 55.95 kB / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7089, allocations: 0 / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.556e-05/0.709, allocations: 23.92 kB / 1.167 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.7093, allocations: 17.78 kB / 1.167 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.7095, allocations: 113.2 kB / 1.167 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.7097, allocations: 0.677 MB / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.318e-05/0.7098, allocations: 4 kB / 1.168 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.7098, allocations: 7.438 kB / 1.168 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.7098, allocations: 0 / 1.168 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.002079/0.7119, allocations: 358.9 kB / 1.168 GB, free: 12.57 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)