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.0009217/0.0009218, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008827/0.0008827, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.608/1.608, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.000512/0.0005121, allocations: 14.5 kB / 0.6736 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2526, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.000836/0.2535, allocations: 389.1 kB / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008622/0.2543, allocations: 0.787 MB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.2544, allocations: 0 / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.2544, allocations: 3.938 kB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.2545, allocations: 8 kB / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.2546, allocations: 7.922 kB / 0.7883 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.2547, allocations: 15.98 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.14e-05/0.2548, allocations: 7.984 kB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.448e-05/0.2548, allocations: 8 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.2549, allocations: 7.922 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.2549, allocations: 4 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.2549, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.2549, allocations: 4 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.255, allocations: 25.7 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.05e-05/0.255, allocations: 15.95 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.255, allocations: 4 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.255, allocations: 0 / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2551, allocations: 0 / 0.7884 GB, free: 10.64 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.0004239/0.2555, allocations: 347.5 kB / 0.7887 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2555, allocations: 12.03 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.2556, allocations: 0 / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.2557, allocations: 163 kB / 0.7889 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2557, allocations: 8 kB / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.2557, allocations: 7.969 kB / 0.7889 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.2559, allocations: 49.69 kB / 0.7889 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2559, allocations: 3.938 kB / 0.7889 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.2559, allocations: 0 / 0.7889 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2559, allocations: 0 / 0.7889 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.2561, allocations: 47.95 kB / 0.789 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.2565, allocations: 248.8 kB / 0.7892 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.2566, allocations: 50.59 kB / 0.7893 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.2566, allocations: 0 / 0.7893 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2567, allocations: 30.56 kB / 0.7893 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2567, allocations: 0 / 0.7893 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003563/0.257, allocations: 101.6 kB / 0.7894 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.2571, allocations: 55.41 kB / 0.7895 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.2572, allocations: 97.86 kB / 0.7896 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.2572, allocations: 25.7 kB / 0.7896 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.2573, allocations: 88.03 kB / 0.7897 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.2573, allocations: 4.125 kB / 0.7897 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.2573, allocations: 7.938 kB / 0.7897 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2574, allocations: 318.8 kB / 0.79 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.2575, allocations: 15.98 kB / 0.79 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-05/0.2576, allocations: 27.97 kB / 0.79 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.924e-05/0.2577, allocations: 20.05 kB / 0.79 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2577, allocations: 0 / 0.79 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001995/0.2579, allocations: 85.52 kB / 0.7901 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2579, allocations: 8 kB / 0.7901 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2579, allocations: 3.984 kB / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2579, allocations: 0 / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.258, allocations: 8 kB / 0.7901 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2581, allocations: 0 / 0.7901 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.2581, allocations: 11.98 kB / 0.7901 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.2581, allocations: 0 / 0.7901 GB, free: 8.621 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.006e-05/0.2582, allocations: 113.8 kB / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.2582, allocations: 4 kB / 0.7903 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.2583, allocations: 7.125 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2583, allocations: 0 / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2583, allocations: 7.984 kB / 0.7903 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2583, allocations: 0 / 0.7903 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.2584, allocations: 157.6 kB / 0.7904 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2585, allocations: 0 / 0.7904 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/0.2585, allocations: 19.98 kB / 0.7904 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2585, allocations: 0 / 0.7904 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2585, allocations: 0 / 0.7904 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2586, allocations: 0 / 0.7904 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2586, allocations: 0 / 0.7904 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.2588, allocations: 179.3 kB / 0.7906 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.2589, allocations: 89.02 kB / 0.7907 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.2589, allocations: 0 / 0.7907 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.259, allocations: 7.984 kB / 0.7907 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.259, allocations: 4 kB / 0.7907 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.2591, allocations: 0 / 0.7907 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.2591, allocations: 83.45 kB / 0.7908 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2591, allocations: 4.031 kB / 0.7908 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002096/0.2593, allocations: 11.92 kB / 0.7908 GB, free: 7.848 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 (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.0001367/0.2595, allocations: 103.2 kB / 0.7909 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.2597, allocations: 47.97 kB / 0.791 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2597, allocations: 0 / 0.791 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.2598, allocations: 27.91 kB / 0.791 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.26, allocations: 0 / 0.791 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.2603, allocations: 112.8 kB / 0.7911 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.2605, allocations: 0.6809 MB / 0.7918 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.2606, allocations: 4 kB / 0.7918 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.2606, allocations: 7.438 kB / 0.7918 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2606, allocations: 0 / 0.7918 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of Templates: time 0.002244/0.2628, allocations: 358.4 kB / 0.7921 GB, free: 6.465 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: