Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.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.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.00136/0.00136, allocations: 192.3 kB / 16.25 MB, free: 6.148 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.653/1.653, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.825/1.825, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.00171/0.00171, allocations: 71.33 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2925, allocations: 114.5 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002548/0.2951, allocations: 0.7779 MB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2964, allocations: 0.8282 MB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.2965, allocations: 0 / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.724e-05/0.2966, allocations: 7.922 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.64e-05/0.2967, allocations: 7.938 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.2969, allocations: 8 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.297, allocations: 47.91 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.2972, allocations: 12 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/0.2973, allocations: 19.92 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.2973, allocations: 23.91 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.2974, allocations: 4 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.2974, allocations: 4 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.2974, allocations: 7.984 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.2975, allocations: 19.86 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.2976, allocations: 35.88 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2976, allocations: 0 / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2976, allocations: 0 / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.2976, allocations: 4 kB / 0.7846 GB, free: 12.03 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006056/0.2983, allocations: 359.7 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2983, allocations: 11.97 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.2984, allocations: 8.844 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.2985, allocations: 176.2 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.2985, allocations: 4.375 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.2985, allocations: 384 / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.2988, allocations: 70.22 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2988, allocations: 192 / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2989, allocations: 7.938 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2989, allocations: 0 / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.2992, allocations: 67.86 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.2996, allocations: 268.9 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.2998, allocations: 58.48 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.2999, allocations: 36.91 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3, allocations: 11.94 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.3, allocations: 30.56 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3, allocations: 0 / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000568/0.3006, allocations: 129.5 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3006, allocations: 55.41 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3007, allocations: 109.8 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3008, allocations: 25.7 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.3008, allocations: 88.05 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.3009, allocations: 7.906 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.3009, allocations: 17.7 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.301, allocations: 318.8 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3012, allocations: 27.97 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.3013, allocations: 31.95 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.3016, allocations: 68.78 kB / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3016, allocations: 3.938 kB / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003034/0.3019, allocations: 105.9 kB / 0.7866 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3019, allocations: 4 kB / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3019, allocations: 0 / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.302, allocations: 4 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3021, allocations: 15.98 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3021, allocations: 0 / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.633e-05/0.3022, allocations: 23.88 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3022, allocations: 0 / 0.7867 GB, free: 9.699 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 (3): * Single equations (assignments): 3 * 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 0.0001066/0.3023, allocations: 113.8 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.3024, allocations: 3.984 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.3027, allocations: 109.5 kB / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3028, allocations: 4 kB / 0.7869 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3028, allocations: 0 / 0.7869 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3028, allocations: 0 / 0.7869 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.3029, allocations: 173.5 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.303, allocations: 3.984 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/0.3031, allocations: 15.98 kB / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3031, allocations: 0 / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3031, allocations: 0 / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3031, allocations: 0 / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.3031, allocations: 4 kB / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.3035, allocations: 211.2 kB / 0.7873 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.3035, allocations: 77.11 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3035, allocations: 3.938 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3036, allocations: 11.98 kB / 0.7874 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.3037, allocations: 11.98 kB / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.3037, allocations: 4 kB / 0.7874 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.3038, allocations: 79.28 kB / 0.7875 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3038, allocations: 0 / 0.7875 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002229/0.304, allocations: 12 kB / 0.7875 GB, free: 8.773 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 (3): * Single equations (assignments): 3 * 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.000223/0.3042, allocations: 95.25 kB / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.3046, allocations: 75.91 kB / 0.7876 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3046, allocations: 0 / 0.7876 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.3048, allocations: 35.91 kB / 0.7877 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3051, allocations: 11.94 kB / 0.7877 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.3056, allocations: 141.4 kB / 0.7878 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.3059, allocations: 0.6807 MB / 0.7885 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.3059, allocations: 0 / 0.7885 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.306, allocations: 11.44 kB / 0.7885 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.306, allocations: 0 / 0.7885 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of Templates: time 0.003148/0.3091, allocations: 0.575 MB / 0.7891 GB, free: 7.098 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)