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.001642/0.001642, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.598/1.598, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.918/1.918, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001639/0.001639, allocations: 67.97 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3261, allocations: 114.6 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.003594/0.3298, allocations: 0.6586 MB / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3313, allocations: 0.7971 MB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.3314, allocations: 4 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.3315, allocations: 3.938 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.95e-05/0.3316, allocations: 7.938 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.3318, allocations: 11.98 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.3319, allocations: 31.86 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.332, allocations: 7.984 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.683e-05/0.3321, allocations: 4 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.205e-05/0.3322, allocations: 15.92 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.3322, allocations: 4 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.3323, allocations: 0 / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.3323, allocations: 4 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.3323, allocations: 15.92 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3325, allocations: 15.97 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3325, allocations: 0 / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3325, allocations: 0 / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.3325, allocations: 0 / 0.7849 GB, free: 11.86 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.0005597/0.3331, allocations: 339.7 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.3331, allocations: 12.03 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.3332, allocations: 4.875 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.3333, allocations: 164.4 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3334, allocations: 12.38 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3334, allocations: 384 / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.3336, allocations: 54.17 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3337, allocations: 4.125 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3337, allocations: 3.938 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.3337, allocations: 0 / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.3339, allocations: 35.95 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.3343, allocations: 248.9 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3345, allocations: 38.5 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.3347, allocations: 20.89 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.3347, allocations: 3.938 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3347, allocations: 42.56 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 4.618e-06/0.3347, allocations: 3.984 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004768/0.3352, allocations: 73.64 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3353, allocations: 55.41 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.3354, allocations: 97.86 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3354, allocations: 25.7 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.3355, allocations: 88.25 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.3355, allocations: 7.906 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.3356, allocations: 13.72 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3357, allocations: 310.8 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3358, allocations: 19.98 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/0.3359, allocations: 19.91 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.3361, allocations: 40.89 kB / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3362, allocations: 0 / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002493/0.3364, allocations: 69.59 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3364, allocations: 8 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3365, allocations: 0 / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3365, allocations: 0 / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3366, allocations: 12.02 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.3366, allocations: 0 / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.3367, allocations: 4 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3367, allocations: 4 kB / 0.7867 GB, free: 9.836 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 9.698e-05/0.3368, allocations: 117.7 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.3369, allocations: 7.938 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.3369, allocations: 11.12 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3369, allocations: 0 / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3369, allocations: 0 / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3369, allocations: 4 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.3372, allocations: 157.6 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3372, allocations: 0 / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.366e-05/0.3373, allocations: 11.98 kB / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3373, allocations: 0 / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3373, allocations: 0 / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3373, allocations: 0 / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3373, allocations: 3.938 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.3376, allocations: 167.4 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.3377, allocations: 81.11 kB / 0.7872 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.3377, allocations: 3.984 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.3378, allocations: 4 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.3379, allocations: 7.938 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3379, allocations: 0 / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.841e-05/0.338, allocations: 83.27 kB / 0.7873 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.338, allocations: 4.031 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003273/0.3383, allocations: 7.938 kB / 0.7873 GB, free: 9.078 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.0001885/0.3385, allocations: 99.25 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.3388, allocations: 39.95 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3388, allocations: 0 / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3389, allocations: 16.05 kB / 0.7875 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.3394, allocations: 11.94 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.3399, allocations: 105.4 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3401, allocations: 0.6768 MB / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.3402, allocations: 0 / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.3402, allocations: 11.44 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of SimCode: time 8.91e-07/0.3402, allocations: 4.062 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of Templates: time 0.002867/0.3431, allocations: 446.1 kB / 0.7887 GB, free: 7.625 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)