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.525/1.525, allocations: 249.5 MB / 257 MB, free: 6.859 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.001092/0.001092, allocations: 176.9 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0007819/0.000782, allocations: 90.39 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.341e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1968, allocations: 106.3 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6626/0.8594, allocations: 131.6 MB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.8597, allocations: 75 kB / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002387/0.8621, allocations: 0.9188 MB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8621, allocations: 0 / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8621, allocations: 0 / 1.015 GB, free: 5.188 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.0003934/0.8625, allocations: 361.8 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.8626, allocations: 8.031 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.8626, allocations: 7.906 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.8627, allocations: 171.7 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.8627, allocations: 0 / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.8627, allocations: 3.984 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.275e-05/0.8628, allocations: 23 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.397e-05/0.8629, allocations: 40.75 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.8629, allocations: 0 / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.8629, allocations: 0.75 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8629, allocations: 4.875 kB / 1.015 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.8634, allocations: 275.3 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.759e-05/0.8635, allocations: 41.56 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.8635, allocations: 15.8 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.8635, allocations: 0 / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.8636, allocations: 34 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.8636, allocations: 0 / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001404/0.8637, allocations: 62.42 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.8637, allocations: 51.41 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/0.8638, allocations: 100.8 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.8638, allocations: 29.7 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.8639, allocations: 82.77 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.8639, allocations: 15.83 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.8639, allocations: 0 / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.864, allocations: 317.9 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.8641, allocations: 6.875 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.804e-05/0.8641, allocations: 7.938 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.8641, allocations: 7.938 kB / 1.016 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.8641, allocations: 7.938 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.152e-05/0.8642, allocations: 53.22 kB / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.8642, allocations: 4 kB / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.8642, allocations: 0 / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.8642, allocations: 4 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.8644, allocations: 25.78 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.8644, allocations: 4 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.558e-05/0.8645, allocations: 15.98 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.8645, allocations: 4 kB / 1.016 GB, free: 3.316 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 5.541e-05/0.8646, allocations: 107.5 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.8646, allocations: 0 / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.8647, allocations: 64.45 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.8647, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.8647, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.8648, allocations: 3.938 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.8649, allocations: 154.7 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8649, allocations: 0 / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.865, allocations: 19.98 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.865, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.865, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.865, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/0.865, allocations: 4.219 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.8652, allocations: 152.3 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.8652, allocations: 85.05 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.8652, allocations: 0 / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.8653, allocations: 19.98 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.8654, allocations: 11.92 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.8654, allocations: 0 / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.8654, allocations: 86.66 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8654, allocations: 4 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001997/0.8656, allocations: 4 kB / 1.017 GB, free: 2.551 MB / 0.6355 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.0001093/0.8658, allocations: 103.2 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.818e-05/0.8658, allocations: 18.31 kB / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.8659, allocations: 0 / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/0.8659, allocations: 18.92 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.8661, allocations: 8 kB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.8663, allocations: 75.52 kB / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.8665, allocations: 0.6884 MB / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.8665, allocations: 4 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.8666, allocations: 7.438 kB / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/0.8666, allocations: 0 / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of Templates: time 0.002001/0.8686, allocations: 494.9 kB / 1.019 GB, free: 1.125 MB / 0.6355 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