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.001493/0.001493, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001175/0.001175, allocations: 165 kB / 23.82 MB, free: 0.7461 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.026/1.026, allocations: 177.1 MB / 204.2 MB, free: 5.188 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.967/1.967, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.683e-06/1.683e-06, allocations: 0 / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.905e-05, allocations: 3.078 kB / 0.8116 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001196/0.001215, allocations: 0.7243 MB / 0.8123 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.00202, allocations: 0.8875 MB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.002056, allocations: 0 / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.002088, allocations: 0 / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.002155, allocations: 9.219 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.002346, allocations: 23.97 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.931e-05/0.002435, allocations: 43.97 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.002525, allocations: 17.47 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/0.002596, allocations: 23.97 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.002632, allocations: 15.92 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.002649, allocations: 4 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-05/0.002691, allocations: 8.719 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.002706, allocations: 7.984 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.002728, allocations: 16.45 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.86e-05/0.002826, allocations: 33.61 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002828, allocations: 4 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002829, allocations: 0 / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.002833, allocations: 0 / 0.8134 GB, free: 15.83 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.0003457/0.003178, allocations: 377.2 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.003216, allocations: 8.031 kB / 0.8137 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.003322, allocations: 14.17 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.068e-05/0.003402, allocations: 116.5 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.003414, allocations: 4.375 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.003427, allocations: 5.531 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.003556, allocations: 66.88 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.003566, allocations: 192 / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.003574, allocations: 1.75 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.003582, allocations: 8.312 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.41e-05/0.003617, allocations: 11.92 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.003918, allocations: 261.6 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/0.003986, allocations: 39 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.004014, allocations: 15.77 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.004036, allocations: 4 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.004055, allocations: 35.11 kB / 0.8143 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.004056, allocations: 0 / 0.8143 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001582/0.004214, allocations: 53.58 kB / 0.8144 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.004241, allocations: 55.41 kB / 0.8144 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.004316, allocations: 173.8 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.004325, allocations: 26.52 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.004368, allocations: 130.9 kB / 0.8147 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.004386, allocations: 14.14 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.004413, allocations: 23.38 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.004525, allocations: 496.1 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.004542, allocations: 4 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.004555, allocations: 4 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.004587, allocations: 19.67 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.004589, allocations: 2.094 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.522e-05/0.004644, allocations: 41.66 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.004656, allocations: 11.94 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.00466, allocations: 336 / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.004675, allocations: 3.938 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.004751, allocations: 12.48 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.004755, allocations: 0.5312 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.004779, allocations: 9.891 kB / 0.8153 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.004785, allocations: 0 / 0.8153 GB, free: 13.63 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.821e-05/0.004843, allocations: 160.6 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.004858, allocations: 3.984 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.597e-05/0.004944, allocations: 53.62 kB / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.004947, allocations: 6.328 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.004951, allocations: 0 / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.004953, allocations: 0 / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.597e-05/0.005049, allocations: 124.6 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.005051, allocations: 0 / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.005081, allocations: 15.88 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.005082, allocations: 1.156 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.00509, allocations: 4 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.005093, allocations: 3.938 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.005094, allocations: 8.484 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.0052, allocations: 188.4 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.005205, allocations: 4 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.005216, allocations: 4.844 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.005254, allocations: 7.938 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.005291, allocations: 4.828 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.005294, allocations: 0 / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.912e-05/0.005333, allocations: 138.7 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005333, allocations: 0 / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001398/0.005473, allocations: 7.953 kB / 0.816 GB, free: 12.84 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 7.848e-05/0.005552, allocations: 102.4 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.902e-05/0.005641, allocations: 19.69 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.005643, allocations: 0 / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.53e-05/0.005668, allocations: 15.67 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.005856, allocations: 10.09 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.006292, allocations: 138.2 kB / 0.8163 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.263e-05/0.006325, allocations: 60.38 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.796e-05/0.006343, allocations: 1.094 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.006373, allocations: 16.5 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.006374, allocations: 0 / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.002215/0.008589, allocations: 0.7376 MB / 0.8171 GB, free: 11.71 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.346023537684232]