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/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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001225/0.001225, allocations: 189.4 kB / 16.25 MB, free: 6.629 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.613/1.613, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.9/1.9, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.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.001609/0.001609, allocations: 66.14 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3271, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002608/0.3297, allocations: 0.732 MB / 0.7836 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3309, allocations: 0.7971 MB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.3309, allocations: 0 / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.044e-05/0.331, allocations: 0 / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.3311, allocations: 11.92 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.3312, allocations: 7.938 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.3313, allocations: 27.92 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3314, allocations: 8 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.185e-05/0.3315, allocations: 11.94 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.48e-05/0.3315, allocations: 15.92 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.3316, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.3316, allocations: 4 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.3316, allocations: 3.984 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.3316, allocations: 11.92 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.001e-05/0.3317, allocations: 15.97 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3317, allocations: 4 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3317, allocations: 0 / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3318, allocations: 4 kB / 0.7845 GB, free: 12.23 MB / 0.6075 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.000506/0.3323, allocations: 339.7 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.3323, allocations: 8.031 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3324, allocations: 8.875 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.3325, allocations: 160.4 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3326, allocations: 384 / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3326, allocations: 4.375 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.3328, allocations: 50.23 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3328, allocations: 192 / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3328, allocations: 7.938 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3328, allocations: 0 / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.333, allocations: 39.88 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.3334, allocations: 244.9 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.3335, allocations: 46.48 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.3336, allocations: 24.91 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3337, allocations: 0 / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.3337, allocations: 34.5 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.3337, allocations: 0 / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003712/0.3341, allocations: 85.64 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.3341, allocations: 51.41 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.3342, allocations: 97.84 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3342, allocations: 33.7 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.3343, allocations: 80.14 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.3343, allocations: 3.906 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.3344, allocations: 13.84 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3345, allocations: 318.8 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.3346, allocations: 15.97 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.3346, allocations: 19.98 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3348, allocations: 36.77 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3348, allocations: 4.062 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001761/0.335, allocations: 73.53 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.335, allocations: 4 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.335, allocations: 0 / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.335, allocations: 4 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.686e-05/0.3351, allocations: 7.984 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3351, allocations: 0 / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.3352, allocations: 4 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.3352, allocations: 4.031 kB / 0.7862 GB, free: 10.21 MB / 0.6075 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 8.874e-05/0.3353, allocations: 122.9 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.3353, allocations: 3.938 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.3354, allocations: 3.125 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3354, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3354, allocations: 7.938 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3354, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.3356, allocations: 161.6 kB / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3356, allocations: 3.984 kB / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.3356, allocations: 8 kB / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3356, allocations: 4 kB / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3357, allocations: 4 kB / 0.7865 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3357, allocations: 0 / 0.7865 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3357, allocations: 0 / 0.7865 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3359, allocations: 167.4 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.336, allocations: 85.12 kB / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.336, allocations: 0 / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.3361, allocations: 4 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.3362, allocations: 3.984 kB / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.3362, allocations: 4 kB / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.3362, allocations: 79.28 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.864e-06/0.3362, allocations: 0 / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002072/0.3364, allocations: 11.88 kB / 0.7869 GB, free: 9.457 MB / 0.6075 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.000214/0.3367, allocations: 105.9 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3369, allocations: 35.95 kB / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3369, allocations: 0 / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.337, allocations: 19.98 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3373, allocations: 7.938 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.3377, allocations: 113.6 kB / 0.7871 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3381, allocations: 0.6806 MB / 0.7878 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.3381, allocations: 0 / 0.7878 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.3382, allocations: 7.438 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.3382, allocations: 0 / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.003248/0.3414, allocations: 399.4 kB / 0.7882 GB, free: 8.047 MB / 0.6075 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)