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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",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.001071/0.001071, allocations: 98.92 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.0009014/0.0009015, 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.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.731/1.731, allocations: 292.6 MB / 0.5497 GB, free: 14.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.0007195/0.0007195, allocations: 17.47 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2757, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001067/0.2769, allocations: 421 kB / 0.7877 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.278, allocations: 0.826 MB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.2781, allocations: 4 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.2781, allocations: 0 / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.346e-05/0.2782, allocations: 3.984 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.2783, allocations: 15.98 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.979e-05/0.2784, allocations: 27.91 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2786, allocations: 8 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.2786, allocations: 11.98 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.2787, allocations: 19.91 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2787, allocations: 4 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.2788, allocations: 0 / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.2788, allocations: 11.92 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.2788, allocations: 29.7 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.022e-05/0.2789, allocations: 31.94 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2789, allocations: 0 / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2789, allocations: 0 / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2789, allocations: 0 / 0.7886 GB, free: 10.46 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.0005292/0.2795, allocations: 359.5 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.2795, allocations: 16.02 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.2796, allocations: 34.56 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.2796, allocations: 7.906 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.2798, allocations: 174.9 kB / 0.7892 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2798, allocations: 0 / 0.7892 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2798, allocations: 4 kB / 0.7892 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.2801, allocations: 81.64 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2801, allocations: 0 / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2801, allocations: 7.938 kB / 0.7893 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2801, allocations: 0 / 0.7893 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.2804, allocations: 83.94 kB / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.2808, allocations: 268.9 kB / 0.7896 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.281, allocations: 70.53 kB / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.281, allocations: 0 / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.2811, allocations: 34.56 kB / 0.7897 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.2811, allocations: 3.938 kB / 0.7897 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005873/0.2817, allocations: 169.5 kB / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.2817, allocations: 51.41 kB / 0.7899 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/0.2818, allocations: 109.8 kB / 0.79 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2818, allocations: 25.7 kB / 0.7901 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.2819, allocations: 84.14 kB / 0.7901 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.2819, allocations: 7.891 kB / 0.7901 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.2819, allocations: 4 kB / 0.7901 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.282, allocations: 322.8 kB / 0.7905 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2822, allocations: 43.97 kB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.2824, allocations: 43.95 kB / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.2825, allocations: 39.97 kB / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2825, allocations: 0 / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003574/0.2829, allocations: 121.9 kB / 0.7907 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2829, allocations: 4 kB / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2829, allocations: 7.984 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2829, allocations: 7.938 kB / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.2831, allocations: 23.97 kB / 0.7907 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2831, allocations: 4.312 kB / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.2832, allocations: 11.98 kB / 0.7907 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2832, allocations: 8 kB / 0.7908 GB, free: 8.047 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.535e-05/0.2833, allocations: 113.8 kB / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.2833, allocations: 4 kB / 0.7909 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.2837, allocations: 133.4 kB / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2837, allocations: 0 / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2837, allocations: 7.984 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2837, allocations: 0 / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.2839, allocations: 165.6 kB / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2839, allocations: 0 / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.284, allocations: 35.86 kB / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.284, allocations: 0 / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.284, allocations: 0 / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2841, allocations: 3.984 kB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2841, allocations: 3.984 kB / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.2844, allocations: 215.4 kB / 0.7914 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.2845, allocations: 81.02 kB / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.2846, allocations: 8 kB / 0.7915 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2847, allocations: 19.98 kB / 0.7915 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.2848, allocations: 3.984 kB / 0.7915 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.2848, allocations: 0 / 0.7915 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.2848, allocations: 91.27 kB / 0.7916 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2848, allocations: 0 / 0.7916 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002178/0.2851, allocations: 7.938 kB / 0.7916 GB, free: 7.066 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 (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.0007077/0.2858, allocations: 0.7553 MB / 0.7923 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.2861, allocations: 91.92 kB / 0.7924 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2861, allocations: 0 / 0.7924 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.2863, allocations: 47.91 kB / 0.7925 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.2865, allocations: 4 kB / 0.7925 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.287, allocations: 158.3 kB / 0.7926 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.2873, allocations: 0.6887 MB / 0.7933 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.2874, allocations: 4 kB / 0.7933 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.2874, allocations: 11.44 kB / 0.7933 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2874, allocations: 0 / 0.7933 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.3018, allocations: 1.277 MB / 0.7946 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.3021, allocations: 188.2 kB / 0.7948 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.254, allocations: 0 / 0.7948 GB, free: 3.832 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) Environment - environmentSimulation: