Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 80.39 kB / 21.47 MB, free: 3.023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 172.3 kB / 24.87 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.2 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.925/1.925, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8128 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.307e-05, allocations: 2.969 kB / 0.8129 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001183/0.001196, allocations: 0.7111 MB / 0.8135 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008744/0.002071, allocations: 0.8837 MB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.002116, allocations: 0 / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.002145, allocations: 3.938 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.822e-05/0.002213, allocations: 11.88 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.002366, allocations: 24.83 kB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.002431, allocations: 39.86 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.153e-05/0.002513, allocations: 20.53 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.00259, allocations: 23.92 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.609e-05/0.002626, allocations: 17.39 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.00264, allocations: 4 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.883e-05/0.002679, allocations: 4 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.002698, allocations: 17.19 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.002713, allocations: 8 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.911e-05/0.002803, allocations: 39.89 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.002804, allocations: 0 / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.92e-07/0.002805, allocations: 4.625 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.002809, allocations: 0 / 0.8146 GB, free: 15.57 MB / 0.7761 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.0003197/0.003129, allocations: 381.4 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.003159, allocations: 8.688 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/0.00324, allocations: 8.891 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.33e-05/0.003323, allocations: 117.2 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.003334, allocations: 4.375 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.003341, allocations: 5.625 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.003447, allocations: 58.94 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.003454, allocations: 192 / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.003461, allocations: 2.469 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.003466, allocations: 4.375 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.453e-05/0.003491, allocations: 19.86 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.003715, allocations: 240.5 kB / 0.8154 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.57e-05/0.003771, allocations: 27.06 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.003788, allocations: 16.56 kB / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.003801, allocations: 96 / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.003822, allocations: 42.91 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 6.01e-07/0.003823, allocations: 0 / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001228/0.003946, allocations: 53.53 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.003973, allocations: 55.39 kB / 0.8156 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.00404, allocations: 170.9 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.004049, allocations: 25.7 kB / 0.8158 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.00409, allocations: 135.6 kB / 0.8159 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.004106, allocations: 7.891 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.004131, allocations: 20.41 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.004239, allocations: 0.4922 MB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.00425, allocations: 4 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-06/0.00426, allocations: 1.562 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.004286, allocations: 19.62 kB / 0.8165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004288, allocations: 0 / 0.8165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.064e-05/0.004339, allocations: 45.64 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.004347, allocations: 4.531 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.004352, allocations: 4 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.00436, allocations: 4.594 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.00442, allocations: 12.52 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.004422, allocations: 0.75 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.673e-05/0.004449, allocations: 4 kB / 0.8165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.004454, allocations: 0.9375 kB / 0.8165 GB, free: 13.41 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/0.004512, allocations: 160.6 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.004527, allocations: 4.531 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.739e-05/0.004595, allocations: 51.33 kB / 0.8167 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.0046, allocations: 11.97 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.004602, allocations: 4 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004604, allocations: 0 / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.366e-05/0.004688, allocations: 106.5 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004688, allocations: 0 / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.004717, allocations: 11.98 kB / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.004718, allocations: 0.625 kB / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.004724, allocations: 8 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.004725, allocations: 0.75 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004725, allocations: 320 / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.403e-05/0.004809, allocations: 193.4 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-06/0.004814, allocations: 0 / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/0.004823, allocations: 4 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.004863, allocations: 11.98 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.00489, allocations: 5.281 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.004892, allocations: 0 / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.004927, allocations: 135.2 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.004927, allocations: 0 / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001348/0.005062, allocations: 8.578 kB / 0.8172 GB, free: 12.66 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.813e-05/0.00513, allocations: 99.23 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.699e-05/0.005197, allocations: 27.61 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.005198, allocations: 0 / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.005217, allocations: 19.61 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.005395, allocations: 12.8 kB / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.005716, allocations: 137.8 kB / 0.8175 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.885e-05/0.005745, allocations: 55.34 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.005763, allocations: 4 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.005811, allocations: 70.2 kB / 0.8176 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.005812, allocations: 0 / 0.8176 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.001996/0.007808, allocations: 0.8292 MB / 0.8184 GB, free: 11.38 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.277164303697646]