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.0127/0.0127, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002227/0.002227, allocations: 195.5 kB / 16.68 MB, free: 5.93 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.717/1.717, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.713/1.713, allocations: 251.7 MB / 0.5094 GB, free: 2.938 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.002116/0.002117, allocations: 71.89 kB / 0.7258 GB, free: 8.906 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3517, allocations: 104.7 MB / 0.8281 GB, free: 100 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.003027/0.3547, allocations: 1.369 MB / 0.8294 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000357/0.3551, allocations: 120.9 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.3552, allocations: 0 / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.3552, allocations: 0 / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.3553, allocations: 7.922 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.3554, allocations: 12 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.986e-05/0.3555, allocations: 23.92 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3556, allocations: 7.984 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.149e-05/0.3557, allocations: 15.92 kB / 0.8296 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.3558, allocations: 8 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.3558, allocations: 4 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.3558, allocations: 4 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.3559, allocations: 7.922 kB / 0.8296 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.3559, allocations: 4 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.356, allocations: 23.89 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.356, allocations: 0 / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.235e-06/0.356, allocations: 7.875 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3561, allocations: 4 kB / 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.0005372/0.3566, allocations: 335.4 kB / 0.83 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3566, allocations: 12.03 kB / 0.83 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.3567, allocations: 4.938 kB / 0.83 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3568, allocations: 168.3 kB / 0.8302 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3569, allocations: 384 / 0.8302 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3569, allocations: 8.359 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.3571, allocations: 46.23 kB / 0.8302 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3571, allocations: 192 / 0.8302 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3571, allocations: 7.938 kB / 0.8302 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3571, allocations: 4 kB / 0.8302 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.3573, allocations: 31.97 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.3577, allocations: 248.9 kB / 0.8305 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.3578, allocations: 42.44 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.3579, allocations: 24.91 kB / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.358, allocations: 0 / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.358, allocations: 30.56 kB / 0.8306 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.358, allocations: 0 / 0.8306 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.00035/0.3584, allocations: 85.58 kB / 0.8307 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3584, allocations: 51.41 kB / 0.8307 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/0.3585, allocations: 106 kB / 0.8308 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.3585, allocations: 25.7 kB / 0.8309 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.3586, allocations: 84.14 kB / 0.8309 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.3586, allocations: 3.906 kB / 0.8309 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3586, allocations: 17.72 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3588, allocations: 314.8 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.3588, allocations: 15.98 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.3589, allocations: 15.98 kB / 0.8313 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.3591, allocations: 40.81 kB / 0.8313 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3591, allocations: 0 / 0.8313 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001724/0.3593, allocations: 69.55 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3593, allocations: 4 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3593, allocations: 4.094 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3593, allocations: 0 / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3594, allocations: 15.98 kB / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3594, allocations: 0 / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.3595, allocations: 15.83 kB / 0.8314 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.3595, allocations: 0 / 0.8314 GB, free: 12.45 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.865e-05/0.3596, allocations: 113.8 kB / 0.8315 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.3596, allocations: 0 / 0.8315 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.3597, allocations: 7.125 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3597, allocations: 3.938 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3597, allocations: 0 / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3597, allocations: 0 / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.3598, allocations: 173.6 kB / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3599, allocations: 0 / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.3599, allocations: 7.984 kB / 0.8317 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3599, allocations: 0 / 0.8317 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3599, allocations: 0 / 0.8317 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.36, allocations: 11.88 kB / 0.8317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.36, allocations: 0 / 0.8317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.3602, allocations: 163.5 kB / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.3603, allocations: 77.11 kB / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3603, allocations: 0 / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.3604, allocations: 11.98 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.3604, allocations: 192 / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3604, allocations: 4.031 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.3605, allocations: 83.27 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3605, allocations: 0 / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002093/0.3607, allocations: 4 kB / 0.8321 GB, free: 11.7 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.0001663/0.3609, allocations: 103.2 kB / 0.8322 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.3611, allocations: 43.91 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3611, allocations: 4.062 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.3612, allocations: 15.98 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.000334/0.3615, allocations: 11.92 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.0003382/0.3619, allocations: 101.5 kB / 0.8323 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3621, allocations: 0.6805 MB / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.3622, allocations: 0 / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.3622, allocations: 11.5 kB / 0.833 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.3622, allocations: 0 / 0.833 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of Templates: time 0.002843/0.365, allocations: 447.5 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)