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.Sqrt.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.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007572/0.007572, allocations: 97.23 kB / 15.73 MB, free: 6.047 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.001896/0.001896, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.583/1.583, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.608/1.608, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001558/0.001558, allocations: 71.91 kB / 0.7259 GB, free: 8.898 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2788, allocations: 104.7 MB / 0.8281 GB, free: 96 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.00272/0.2816, allocations: 1.372 MB / 0.8294 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000347/0.282, allocations: 120.9 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.282, allocations: 4 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.2821, allocations: 3.984 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.2821, allocations: 3.938 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.2823, allocations: 8 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.2824, allocations: 27.91 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2825, allocations: 4 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.2826, allocations: 15.92 kB / 0.8296 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.2826, allocations: 7.984 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.2827, allocations: 4 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.2827, allocations: 4 kB / 0.8296 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.2827, allocations: 3.938 kB / 0.8296 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.2827, allocations: 8 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.2828, allocations: 27.83 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2829, allocations: 3.938 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2829, allocations: 0 / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2829, allocations: 0 / 0.8297 GB, free: 14.47 MB / 0.6544 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.0004767/0.2834, allocations: 339.5 kB / 0.83 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2834, allocations: 8.031 kB / 0.83 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.2835, allocations: 8.891 kB / 0.83 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2836, allocations: 172.3 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.2836, allocations: 384 / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2836, allocations: 4.375 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.2838, allocations: 46.23 kB / 0.8302 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2838, allocations: 192 / 0.8302 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2839, allocations: 7.938 kB / 0.8302 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2839, allocations: 0 / 0.8302 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.284, allocations: 35.97 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.2844, allocations: 248.9 kB / 0.8305 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.2846, allocations: 42.48 kB / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.622e-05/0.2847, allocations: 24.84 kB / 0.8306 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2847, allocations: 4 kB / 0.8306 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.2847, allocations: 30.56 kB / 0.8306 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2847, allocations: 0 / 0.8306 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004003/0.2851, allocations: 85.58 kB / 0.8307 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.2852, allocations: 51.41 kB / 0.8307 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2853, allocations: 102 kB / 0.8308 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2854, allocations: 29.7 kB / 0.8309 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.2854, allocations: 80.14 kB / 0.8309 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.2855, allocations: 7.953 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.2855, allocations: 13.72 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2856, allocations: 318.8 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.2857, allocations: 15.98 kB / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.858e-05/0.2858, allocations: 15.98 kB / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.286, allocations: 40.81 kB / 0.8313 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.286, allocations: 0 / 0.8313 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001839/0.2861, allocations: 73.5 kB / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2862, allocations: 4 kB / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2862, allocations: 0 / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2862, allocations: 8.078 kB / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.2863, allocations: 12 kB / 0.8314 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2863, allocations: 0 / 0.8314 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.2864, allocations: 11.92 kB / 0.8314 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.2864, allocations: 0 / 0.8314 GB, free: 12.44 MB / 0.6544 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 7.633e-05/0.2865, allocations: 109.8 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.2865, allocations: 4 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.2865, allocations: 7.062 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2865, allocations: 4 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2865, allocations: 0 / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2866, allocations: 3.984 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.2867, allocations: 161.6 kB / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2867, allocations: 0 / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.2868, allocations: 15.98 kB / 0.8317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2868, allocations: 0 / 0.8317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2868, allocations: 0 / 0.8317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2868, allocations: 0 / 0.8317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2868, allocations: 3.938 kB / 0.8317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.2871, allocations: 167.4 kB / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.2871, allocations: 85.06 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2871, allocations: 0 / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.2872, allocations: 11.98 kB / 0.832 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.2873, allocations: 0 / 0.832 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.2873, allocations: 0 / 0.832 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.2873, allocations: 83.31 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.2873, allocations: 0 / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002072/0.2875, allocations: 4 kB / 0.8321 GB, free: 11.69 MB / 0.6544 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.0001982/0.2878, allocations: 103.2 kB / 0.8322 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.288, allocations: 39.91 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.288, allocations: 64 / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.2881, allocations: 23.97 kB / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.2884, allocations: 10.75 kB / 0.8322 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.2887, allocations: 101.5 kB / 0.8323 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.289, allocations: 0.6766 MB / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.289, allocations: 4 kB / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.289, allocations: 7.438 kB / 0.833 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.2891, allocations: 4.062 kB / 0.833 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.002498/0.2916, allocations: 444.7 kB / 0.8334 GB, free: 10.23 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)