Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.473/2.473, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 182.5 kB / 0.4902 GB, free: 2.227 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009824/0.0009826, allocations: 88.34 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003952, allocations: 13.84 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3369, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.5297, allocations: 149.7 MB / 1.375 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.53, allocations: 63.97 kB / 1.375 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002785/0.5328, allocations: 0.8994 MB / 1.376 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.348e-06/0.5328, allocations: 0 / 1.376 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.5328, allocations: 3.938 kB / 1.376 GB, free: 2.863 MB / 0.8698 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.0005206/0.5334, allocations: 373.1 kB / 1.377 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.5334, allocations: 8.562 kB / 1.377 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.5335, allocations: 4 kB / 1.377 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.5336, allocations: 174.9 kB / 1.377 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.5337, allocations: 0 / 1.377 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.5337, allocations: 4 kB / 1.377 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.534, allocations: 77.66 kB / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.534, allocations: 0 / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.534, allocations: 7.938 kB / 1.377 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.534, allocations: 0 / 1.377 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.5343, allocations: 91.86 kB / 1.377 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.5349, allocations: 300.9 kB / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.5351, allocations: 66.53 kB / 1.377 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.5352, allocations: 4 kB / 1.377 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.5352, allocations: 34.5 kB / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.5352, allocations: 0 / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.000576/0.5358, allocations: 165.7 kB / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.5358, allocations: 51.41 kB / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.5359, allocations: 116.8 kB / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.536, allocations: 25.7 kB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.536, allocations: 88.08 kB / 1.378 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.536, allocations: 7.891 kB / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.536, allocations: 0 / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5362, allocations: 322.8 kB / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.5364, allocations: 39.97 kB / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.5365, allocations: 43.95 kB / 1.378 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.5367, allocations: 44.19 kB / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5367, allocations: 0 / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000348/0.537, allocations: 129.5 kB / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5371, allocations: 8 kB / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5371, allocations: 0 / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5371, allocations: 4 kB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.5373, allocations: 19.97 kB / 1.378 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5373, allocations: 4 kB / 1.378 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.5374, allocations: 19.92 kB / 1.378 GB, free: 476 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.5374, allocations: 7.953 kB / 1.378 GB, free: 468 kB / 0.8698 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 8.497e-05/0.5375, allocations: 105.8 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.5375, allocations: 8 kB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.5379, allocations: 125.5 kB / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5379, allocations: 0 / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.538, allocations: 4 kB / 1.379 GB, free: 208 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.538, allocations: 0 / 1.379 GB, free: 208 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.5382, allocations: 177.6 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5382, allocations: 0 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.5383, allocations: 23.98 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5383, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.5383, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5383, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5383, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.5387, allocations: 227.3 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.5388, allocations: 85.05 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.5388, allocations: 4 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5389, allocations: 15.98 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.539, allocations: 7.984 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.539, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.5391, allocations: 91.27 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5391, allocations: 0 / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002057/0.5393, allocations: 4 kB / 1.379 GB, free: 15.5 MB / 0.8855 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.0001612/0.5395, allocations: 104 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.5398, allocations: 91.92 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5398, allocations: 0 / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.54, allocations: 43.91 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.5402, allocations: 19.94 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.5406, allocations: 128.8 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.5409, allocations: 0.6809 MB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.94e-05/0.541, allocations: 11.98 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.541, allocations: 7.438 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of SimCode: time 3.8e-07/0.541, allocations: 0 / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of Templates: time 0.002661/0.5437, allocations: 0.5214 MB / 1.381 GB, free: 13.84 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches