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.001011/0.001011, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001209/0.001209, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9641/0.9641, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.94/1.94, allocations: 377.8 MB / 0.6239 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 2.986e-06/2.986e-06, allocations: 0 / 0.8116 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.614e-05, allocations: 4.141 kB / 0.8116 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001774/0.00181, allocations: 0.7123 MB / 0.8123 GB, free: 176 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.002866, allocations: 0.8781 MB / 0.8131 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.002913, allocations: 5.188 kB / 0.8132 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.002945, allocations: 0 / 0.8132 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.801e-05/0.003033, allocations: 15.88 kB / 0.8132 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.003255, allocations: 17.41 kB / 0.8132 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.00335, allocations: 47.84 kB / 0.8132 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003456, allocations: 4 kB / 0.8132 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.003563, allocations: 37 kB / 0.8133 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.003612, allocations: 11.98 kB / 0.8133 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.003635, allocations: 4 kB / 0.8133 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.38e-05/0.003698, allocations: 11.98 kB / 0.8133 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.00372, allocations: 12.55 kB / 0.8133 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.003748, allocations: 9.406 kB / 0.8133 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.003874, allocations: 43.83 kB / 0.8134 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003876, allocations: 0 / 0.8134 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003877, allocations: 0 / 0.8134 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.003881, allocations: 1.031 kB / 0.8134 GB, free: 15.07 MB / 0.7292 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.0004005/0.004282, allocations: 376.2 kB / 0.8137 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.004325, allocations: 12.7 kB / 0.8137 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.004457, allocations: 12.89 kB / 0.8137 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.004579, allocations: 117.4 kB / 0.8139 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.004596, allocations: 4.375 kB / 0.8139 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.004606, allocations: 5.031 kB / 0.8139 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.004771, allocations: 67.75 kB / 0.8139 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.00478, allocations: 192 / 0.8139 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.00479, allocations: 384 / 0.8139 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.004799, allocations: 5.625 kB / 0.8139 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.004836, allocations: 11.92 kB / 0.8139 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.005184, allocations: 255.9 kB / 0.8142 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.871e-05/0.005262, allocations: 36.81 kB / 0.8142 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.005289, allocations: 19.69 kB / 0.8142 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.005311, allocations: 4.078 kB / 0.8142 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.005332, allocations: 33.39 kB / 0.8143 GB, free: 14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.005333, allocations: 1.156 kB / 0.8143 GB, free: 14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001795/0.005513, allocations: 53.62 kB / 0.8143 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.005545, allocations: 51.41 kB / 0.8144 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.005629, allocations: 171.4 kB / 0.8145 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.005639, allocations: 25.7 kB / 0.8146 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.005689, allocations: 142.8 kB / 0.8147 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.005709, allocations: 3.953 kB / 0.8147 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.005738, allocations: 24.31 kB / 0.8147 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.005853, allocations: 496.1 kB / 0.8152 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.005873, allocations: 4 kB / 0.8152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.399e-05/0.005887, allocations: 0.7812 kB / 0.8152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.005924, allocations: 19.69 kB / 0.8152 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.005926, allocations: 4.688 kB / 0.8152 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.978e-05/0.005996, allocations: 49.64 kB / 0.8153 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.006012, allocations: 9.781 kB / 0.8153 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006016, allocations: 0 / 0.8153 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.006031, allocations: 0 / 0.8153 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.882e-05/0.00612, allocations: 15.92 kB / 0.8153 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.006126, allocations: 0.625 kB / 0.8153 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.00615, allocations: 4 kB / 0.8153 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.006159, allocations: 8.672 kB / 0.8153 GB, free: 12.87 MB / 0.7292 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 7.242e-05/0.006231, allocations: 153.8 kB / 0.8155 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.006247, allocations: 4.328 kB / 0.8155 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.006361, allocations: 57.61 kB / 0.8155 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006363, allocations: 0.5312 kB / 0.8155 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.006367, allocations: 1.219 kB / 0.8155 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.006371, allocations: 3.984 kB / 0.8155 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.006476, allocations: 124.6 kB / 0.8156 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006477, allocations: 0 / 0.8156 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.006516, allocations: 13.03 kB / 0.8157 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006518, allocations: 3.938 kB / 0.8157 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.006524, allocations: 1 kB / 0.8157 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.006526, allocations: 7.938 kB / 0.8157 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006527, allocations: 0 / 0.8157 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.006635, allocations: 193.7 kB / 0.8159 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.006643, allocations: 3.984 kB / 0.8159 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.006654, allocations: 4 kB / 0.8159 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.886e-05/0.006692, allocations: 7.938 kB / 0.8159 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.006742, allocations: 9.328 kB / 0.8159 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.006746, allocations: 0 / 0.8159 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.006789, allocations: 127.2 kB / 0.816 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006789, allocations: 0 / 0.816 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001429/0.006932, allocations: 12.88 kB / 0.816 GB, free: 12.09 MB / 0.7292 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 0.0001036/0.007036, allocations: 97.3 kB / 0.8161 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.007138, allocations: 19.62 kB / 0.8161 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.00714, allocations: 0 / 0.8161 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.556e-05/0.007165, allocations: 19.67 kB / 0.8161 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.007387, allocations: 22.86 kB / 0.8162 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.008018, allocations: 145.5 kB / 0.8163 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.008054, allocations: 59.3 kB / 0.8164 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.008077, allocations: 3.984 kB / 0.8164 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.008107, allocations: 12.5 kB / 0.8164 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of SimCode: time 9.91e-07/0.008108, allocations: 0 / 0.8164 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.00234/0.01045, allocations: 0.7434 MB / 0.8171 GB, free: 10.95 MB / 0.7292 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.275156503077596]