Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001327/0.001327, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001044/0.001044, allocations: 177 kB / 23.36 MB, free: 1.133 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.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.478/2.478, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.267e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001195/0.001218, allocations: 0.7232 MB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.002428, allocations: 0.8897 MB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.002463, allocations: 0 / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.002492, allocations: 0 / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.209e-05/0.002564, allocations: 11.88 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.00274, allocations: 15.98 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.344e-05/0.002823, allocations: 47.84 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.44e-05/0.002897, allocations: 11.88 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.879e-05/0.002976, allocations: 27.95 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.003013, allocations: 19.92 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.003026, allocations: 4 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.204e-05/0.003068, allocations: 12 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.003084, allocations: 7.984 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.0031, allocations: 8 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.875e-05/0.003188, allocations: 39.88 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00319, allocations: 0 / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003191, allocations: 0 / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.003194, allocations: 0 / 0.8404 GB, free: 12.3 MB / 0.8073 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.0002787/0.003473, allocations: 256.8 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.003503, allocations: 12.62 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.003584, allocations: 4.938 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.557e-05/0.003659, allocations: 117.7 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.00367, allocations: 4.375 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-06/0.003679, allocations: 384 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.003795, allocations: 70.86 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003801, allocations: 192 / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.00381, allocations: 4.375 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.003815, allocations: 384 / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.003835, allocations: 7.938 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.004024, allocations: 156.3 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.004078, allocations: 30.58 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.004093, allocations: 12.8 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.004106, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.004127, allocations: 34.64 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 5.81e-07/0.004127, allocations: 0 / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001103/0.004238, allocations: 45.62 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.004269, allocations: 51.41 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.954e-05/0.004329, allocations: 122.6 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.00434, allocations: 29.7 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.004368, allocations: 84.14 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.004388, allocations: 19.83 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.00441, allocations: 9.719 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.004487, allocations: 318.8 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.004498, allocations: 4 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.004507, allocations: 4 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.568e-05/0.004533, allocations: 20.83 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.004535, allocations: 0 / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.16e-05/0.004576, allocations: 37.69 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.004586, allocations: 4 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.004589, allocations: 320 / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.0046, allocations: 11.88 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/0.004668, allocations: 12 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.004673, allocations: 7.984 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.004694, allocations: 4 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.004701, allocations: 3.984 kB / 0.8419 GB, free: 10.67 MB / 0.8073 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 4.801e-05/0.004749, allocations: 105.8 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.004762, allocations: 4 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.998e-05/0.004832, allocations: 49.67 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.004834, allocations: 3.938 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.004836, allocations: 4 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.004839, allocations: 0 / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.563e-05/0.004925, allocations: 69.89 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004925, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.004953, allocations: 15.92 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.004954, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.004958, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.004958, allocations: 3.938 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.004959, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.99e-05/0.005029, allocations: 143.8 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.005037, allocations: 11.98 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.005045, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.533e-05/0.005081, allocations: 7.984 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.005107, allocations: 3.984 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.00511, allocations: 7.938 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.165e-05/0.005122, allocations: 8.859 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005122, allocations: 0 / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001122/0.005234, allocations: 12 kB / 0.8423 GB, free: 10.17 MB / 0.8073 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.817e-05/0.005302, allocations: 76.36 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.593e-05/0.005358, allocations: 20.84 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.00536, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.005378, allocations: 12.86 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.005513, allocations: 15.98 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.005845, allocations: 132.5 kB / 0.8425 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.178e-05/0.005876, allocations: 63.28 kB / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.797e-05/0.005894, allocations: 8 kB / 0.8426 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.00594, allocations: 51.38 kB / 0.8427 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.00594, allocations: 0 / 0.8427 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of Templates: time 0.002047/0.007987, allocations: 0.6908 MB / 0.8433 GB, free: 9.059 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.310255988035351]