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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 105.4 kB / 15.7 MB, free: 24 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.001358/0.001359, allocations: 195.1 kB / 16.64 MB, free: 6.453 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.482/1.482, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.854/1.854, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001471/0.001471, allocations: 70.12 kB / 0.6718 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2635, allocations: 114.5 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002315/0.2659, allocations: 0.6696 MB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009989/0.2669, allocations: 0.8009 MB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.267, allocations: 0 / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.267, allocations: 3.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.384e-05/0.2671, allocations: 4 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.2673, allocations: 11.92 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.2673, allocations: 16 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2675, allocations: 11.98 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.2675, allocations: 8 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.2676, allocations: 15.92 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.2676, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.2676, allocations: 4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.2676, allocations: 7.922 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.2677, allocations: 7.938 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.78e-05/0.2678, allocations: 23.89 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2678, allocations: 4 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2678, allocations: 0 / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2678, allocations: 4 kB / 0.7852 GB, free: 11.6 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.0005138/0.2683, allocations: 339.7 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2684, allocations: 8.031 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.2684, allocations: 34.75 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.2685, allocations: 4.938 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2686, allocations: 168.4 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2686, allocations: 384 / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.2686, allocations: 4.375 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.2688, allocations: 54.23 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2688, allocations: 3.938 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2688, allocations: 0 / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2689, allocations: 0 / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.269, allocations: 39.89 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.2695, allocations: 248.8 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.2696, allocations: 42.5 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.2697, allocations: 20.89 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2697, allocations: 0 / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2698, allocations: 42.5 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2698, allocations: 0 / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003519/0.2701, allocations: 77.64 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.2702, allocations: 51.41 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.2703, allocations: 101.9 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2703, allocations: 25.7 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.2703, allocations: 84.12 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2704, allocations: 11.84 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.2704, allocations: 13.72 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2706, allocations: 315 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.706e-05/0.2706, allocations: 15.98 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.2707, allocations: 19.97 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.2709, allocations: 40.77 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.2709, allocations: 4 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001821/0.2711, allocations: 69.66 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2711, allocations: 8 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2711, allocations: 0 / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2711, allocations: 0 / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.2712, allocations: 7.984 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2712, allocations: 0 / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.2713, allocations: 4 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.2713, allocations: 8.031 kB / 0.787 GB, free: 9.531 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.411e-05/0.2714, allocations: 109.8 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.2714, allocations: 3.984 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.2715, allocations: 7.125 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2715, allocations: 7.938 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.2715, allocations: 0 / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2715, allocations: 0 / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.2717, allocations: 165.5 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2717, allocations: 0 / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.2717, allocations: 15.98 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2718, allocations: 0 / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2718, allocations: 0 / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2718, allocations: 0 / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2718, allocations: 0 / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.272, allocations: 167.5 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.2721, allocations: 85.27 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2721, allocations: 0 / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.2722, allocations: 11.92 kB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.2722, allocations: 7.984 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2722, allocations: 0 / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.2723, allocations: 83.27 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.453e-06/0.2723, allocations: 3.938 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002112/0.2725, allocations: 11.94 kB / 0.7876 GB, free: 8.766 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.0005673/0.2731, allocations: 0.6929 MB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.2733, allocations: 39.95 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2733, allocations: 4.094 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.003e-05/0.2734, allocations: 15.92 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.2737, allocations: 14.39 kB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.2742, allocations: 135 kB / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.2744, allocations: 0.6768 MB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.2745, allocations: 4 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.2745, allocations: 11.5 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2745, allocations: 0 / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.2966, allocations: 1.252 MB / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/7.725, allocations: 6.219 kB / 0.7904 GB, free: 5.906 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)