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.326/1.326, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 179.5 kB / 326.5 MB, free: 2.238 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.851/1.851, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.0008883/0.0008886, allocations: 89.34 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 12.16 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2602, allocations: 106.3 MB / 0.9001 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.4421, allocations: 131.5 MB / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.4424, allocations: 67.95 kB / 1.029 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002655/0.4451, allocations: 0.9112 MB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4451, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.4451, allocations: 4 kB / 1.029 GB, free: 11.8 MB / 0.6823 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.0005209/0.4456, allocations: 379.1 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.4457, allocations: 15.97 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.4457, allocations: 0 / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4459, allocations: 175 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4459, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.4459, allocations: 4 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.4462, allocations: 81.64 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4462, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4462, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4462, allocations: 4 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.4465, allocations: 83.92 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.4471, allocations: 312.7 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.4473, allocations: 70.53 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.4474, allocations: 0 / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4474, allocations: 30.56 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4474, allocations: 0 / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005832/0.448, allocations: 165.6 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.4481, allocations: 55.39 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.4482, allocations: 101 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.4482, allocations: 25.7 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.4482, allocations: 92.06 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.4483, allocations: 11.81 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.4483, allocations: 4 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4484, allocations: 318.8 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.4486, allocations: 43.95 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.4487, allocations: 43.97 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.4489, allocations: 35.97 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4489, allocations: 7.984 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003269/0.4493, allocations: 117.9 kB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4493, allocations: 11.94 kB / 1.032 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4493, allocations: 0 / 1.032 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4493, allocations: 0 / 1.032 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.4495, allocations: 19.98 kB / 1.032 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4495, allocations: 0 / 1.032 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.693e-05/0.4496, allocations: 20.03 kB / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.4496, allocations: 11.91 kB / 1.032 GB, free: 9.395 MB / 0.6823 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 9.685e-05/0.4497, allocations: 117.8 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.4497, allocations: 7.844 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.4501, allocations: 129.5 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4501, allocations: 0 / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.4502, allocations: 4 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4502, allocations: 0 / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.4504, allocations: 169.6 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4504, allocations: 7.938 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.4505, allocations: 23.97 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4505, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.4505, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4505, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4505, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.4509, allocations: 219.4 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.451, allocations: 89 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.451, allocations: 0 / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4511, allocations: 15.98 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.4512, allocations: 3.984 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.4512, allocations: 4 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.317e-05/0.4512, allocations: 83.28 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4512, allocations: 0 / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000199/0.4514, allocations: 12 kB / 1.032 GB, free: 8.422 MB / 0.6823 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.0001676/0.4516, allocations: 103.2 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.4519, allocations: 87.92 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.452, allocations: 0 / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.4521, allocations: 55.95 kB / 1.033 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.4524, allocations: 7.953 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.4527, allocations: 142.4 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.4531, allocations: 0.6848 MB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.578e-05/0.4531, allocations: 4 kB / 1.034 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.4531, allocations: 15.44 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/0.4531, allocations: 0 / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of Templates: time 0.002582/0.4557, allocations: 0.5167 MB / 1.034 GB, free: 6.754 MB / 0.6823 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