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.001118/0.001118, 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.001098/0.001098, allocations: 194.5 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.425/1.425, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.746/1.746, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001541/0.001541, allocations: 70.75 kB / 0.6716 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2618, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002395/0.2643, allocations: 0.7062 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000994/0.2653, allocations: 0.832 MB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.2653, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.2654, allocations: 3.938 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.2655, allocations: 3.938 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.2657, allocations: 19.98 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.2657, allocations: 39.91 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2659, allocations: 12 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.332e-05/0.2659, allocations: 23.84 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.266, allocations: 23.92 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.266, allocations: 0 / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.266, allocations: 4 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.2661, allocations: 11.98 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.2661, allocations: 19.86 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.895e-05/0.2662, allocations: 35.88 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.2662, allocations: 8 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2662, allocations: 3.938 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.2662, allocations: 0 / 0.7852 GB, free: 11.59 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.0005562/0.2668, allocations: 363.6 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2669, allocations: 8.031 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/0.2669, allocations: 30.75 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.2669, allocations: 4.938 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2671, allocations: 180.2 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2671, allocations: 8.375 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.2671, allocations: 4.375 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.2674, allocations: 70.16 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2674, allocations: 3.938 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2674, allocations: 4 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2674, allocations: 0 / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.2677, allocations: 67.92 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.2681, allocations: 260.9 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.2683, allocations: 70.45 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.2684, allocations: 36.86 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.2685, allocations: 0 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.2685, allocations: 38.56 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.2685, allocations: 0 / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005789/0.2691, allocations: 133.5 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.2691, allocations: 51.41 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.021e-05/0.2692, allocations: 110.1 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2692, allocations: 25.7 kB / 0.7866 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.2693, allocations: 84.14 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.2693, allocations: 7.891 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.2694, allocations: 25.66 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2695, allocations: 310.8 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.2697, allocations: 35.95 kB / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2699, allocations: 27.97 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.2702, allocations: 76.72 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.2702, allocations: 0 / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003262/0.2705, allocations: 97.53 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2705, allocations: 4 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2706, allocations: 0 / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2706, allocations: 0 / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.2707, allocations: 27.91 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2707, allocations: 4.062 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.2708, allocations: 11.98 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2708, allocations: 0 / 0.7873 GB, free: 9.215 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 8.184e-05/0.2709, allocations: 121.1 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.271, allocations: 0 / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.2713, allocations: 117.4 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2714, allocations: 0 / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2714, allocations: 0 / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2714, allocations: 0 / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.2716, allocations: 173.6 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2716, allocations: 0 / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.2717, allocations: 15.98 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2717, allocations: 0 / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2717, allocations: 7.938 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2717, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2717, allocations: 7.938 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.2721, allocations: 203.7 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.2722, allocations: 77.11 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.2722, allocations: 4 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2723, allocations: 12.03 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.2723, allocations: 7.969 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2723, allocations: 4 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.2724, allocations: 83.28 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2724, allocations: 0 / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002168/0.2726, allocations: 8 kB / 0.7881 GB, free: 8.289 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.0008104/0.2734, allocations: 0.7357 MB / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.2738, allocations: 71.92 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2738, allocations: 0 / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.274, allocations: 43.89 kB / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.2743, allocations: 4 kB / 0.7889 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.2748, allocations: 155.1 kB / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.2751, allocations: 0.6807 MB / 0.7897 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.2751, allocations: 0 / 0.7897 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.2752, allocations: 15.44 kB / 0.7897 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2752, allocations: 0 / 0.7897 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.2949, allocations: 1.592 MB / 0.7913 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.02, allocations: 19.28 kB / 0.7913 GB, free: 4.961 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)