Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.477/1.477, allocations: 249.3 MB / 261.8 MB, free: 5.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 178.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 85.88 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.251e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2081, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7201/0.9282, allocations: 131.4 MB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.9286, allocations: 75.69 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002571/0.9312, allocations: 0.9188 MB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9312, allocations: 4 kB / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.9312, allocations: 0 / 1.021 GB, free: 2.453 MB / 0.6355 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.0004444/0.9317, allocations: 358.2 kB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.9317, allocations: 12.03 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.9318, allocations: 7.906 kB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.9319, allocations: 175 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.9319, allocations: 3.75 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.9319, allocations: 4 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.9321, allocations: 44.94 kB / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.9321, allocations: 0 / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.9321, allocations: 0 / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.9321, allocations: 0 / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.792e-05/0.9322, allocations: 23.25 kB / 1.022 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.9327, allocations: 303.6 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/0.9328, allocations: 37.81 kB / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.9328, allocations: 20.61 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.9329, allocations: 0 / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.9329, allocations: 30.56 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.264e-06/0.9329, allocations: 0 / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001714/0.9331, allocations: 63.98 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.9331, allocations: 51.41 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.9332, allocations: 96.56 kB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.9332, allocations: 25.7 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.9333, allocations: 91.2 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.9333, allocations: 15.14 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.9333, allocations: 0 / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.9335, allocations: 314.8 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.9335, allocations: 11.5 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.9335, allocations: 9.594 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.9335, allocations: 7.375 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9336, allocations: 0 / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.275e-05/0.9337, allocations: 63.47 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.9337, allocations: 4 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.9337, allocations: 4 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.9337, allocations: 4 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.9339, allocations: 19.97 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.9339, allocations: 0 / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.487e-05/0.934, allocations: 15.98 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.934, allocations: 8 kB / 1.023 GB, free: 0.543 MB / 0.6355 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 () * 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 6.14e-05/0.934, allocations: 104.9 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.9341, allocations: 0 / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.9342, allocations: 64.77 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9342, allocations: 48 / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.9342, allocations: 3.984 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.9343, allocations: 7.875 kB / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.9344, allocations: 169.3 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9344, allocations: 0 / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.9345, allocations: 27.97 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.9346, allocations: 0.875 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.9346, allocations: 4 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9346, allocations: 0 / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9346, allocations: 0 / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.9347, allocations: 154.3 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.9348, allocations: 81.11 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.9348, allocations: 3.938 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.9349, allocations: 18.67 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.935, allocations: 7.984 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.935, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.935, allocations: 87.84 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.634e-06/0.935, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001915/0.9352, allocations: 11.94 kB / 1.024 GB, free: 15.75 MB / 0.6511 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 () * 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.0001504/0.9354, allocations: 99.25 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.994e-05/0.9355, allocations: 29.92 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9355, allocations: 0 / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.447e-05/0.9356, allocations: 11.94 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.9357, allocations: 7.953 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.936, allocations: 80.44 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.9363, allocations: 0.6925 MB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.9363, allocations: 4 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.9363, allocations: 11.38 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/0.9363, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of Templates: time 0.002425/0.9388, allocations: 0.531 MB / 1.025 GB, free: 14.27 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches