Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001004/0.001004, allocations: 188.8 kB / 487.4 MB, free: 5.023 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.531/1.531, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 99.83 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.963e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3247, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9854/1.31, allocations: 148.1 MB / 1.351 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/1.311, allocations: 70.98 kB / 1.351 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003152/1.314, allocations: 0.8995 MB / 1.352 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.234e-06/1.314, allocations: 1.344 kB / 1.352 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.754e-06/1.314, allocations: 0 / 1.352 GB, free: 34.13 MB / 0.8386 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.0004247/1.314, allocations: 370.3 kB / 1.352 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.314, allocations: 10.27 kB / 1.352 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/1.314, allocations: 5.156 kB / 1.352 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.383e-05/1.314, allocations: 168.2 kB / 1.352 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/1.314, allocations: 0 / 1.352 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/1.314, allocations: 1.312 kB / 1.352 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.255e-05/1.314, allocations: 18.88 kB / 1.352 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.368e-05/1.315, allocations: 43.78 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/1.315, allocations: 5.25 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/1.315, allocations: 0 / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.315, allocations: 4 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/1.315, allocations: 283.6 kB / 1.352 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.176e-05/1.315, allocations: 36.39 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/1.315, allocations: 13.67 kB / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/1.315, allocations: 5.953 kB / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/1.315, allocations: 31.17 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/1.315, allocations: 0 / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001661/1.316, allocations: 51.55 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/1.316, allocations: 53.23 kB / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/1.316, allocations: 101.5 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/1.316, allocations: 26.41 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/1.316, allocations: 85.88 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/1.316, allocations: 17.64 kB / 1.353 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/1.316, allocations: 0 / 1.353 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.316, allocations: 317.5 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/1.316, allocations: 7.312 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/1.316, allocations: 10.8 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/1.316, allocations: 12.98 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.316, allocations: 5.344 kB / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.257e-05/1.316, allocations: 49.25 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.316, allocations: 5.188 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.316, allocations: 3.938 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.316, allocations: 0 / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/1.316, allocations: 21.05 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/1.316, allocations: 1.281 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/1.316, allocations: 22.77 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/1.316, allocations: 1.281 kB / 1.353 GB, free: 32.54 MB / 0.8386 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.6e-05/1.317, allocations: 104.9 kB / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/1.317, allocations: 7.141 kB / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/1.317, allocations: 59.5 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.317, allocations: 0 / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.317, allocations: 3.375 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.317, allocations: 4 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/1.317, allocations: 144.7 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/1.317, allocations: 1.969 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/1.317, allocations: 23.31 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.317, allocations: 1.219 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.317, allocations: 2.812 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.317, allocations: 1.844 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.317, allocations: 0 / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/1.317, allocations: 149.7 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/1.317, allocations: 86.95 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/1.317, allocations: 0 / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/1.317, allocations: 20.91 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/1.317, allocations: 4.625 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/1.317, allocations: 0 / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.762e-05/1.317, allocations: 94.94 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.318, allocations: 0 / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002114/1.318, allocations: 5.281 kB / 1.354 GB, free: 31.89 MB / 0.8386 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.0001417/1.318, allocations: 98.34 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.686e-05/1.318, allocations: 25.31 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.318, allocations: 1.344 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/1.318, allocations: 12.06 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/1.318, allocations: 10.83 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/1.318, allocations: 66.94 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/1.319, allocations: 0.6826 MB / 1.355 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.045e-05/1.319, allocations: 3.969 kB / 1.355 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/1.319, allocations: 7.438 kB / 1.355 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.319, allocations: 0 / 1.355 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of Templates: time 0.002304/1.321, allocations: 0.4969 MB / 1.355 GB, free: 30.98 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches