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.001405/0.001405, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001914/0.001914, allocations: 161 kB / 24.17 MB, free: 332 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 1.092/1.092, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.99/1.99, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.573e-06/1.573e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.883e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001329/0.001348, allocations: 0.7753 MB / 0.7609 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008216/0.002169, allocations: 0.8801 MB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.002203, allocations: 0.5312 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.00223, allocations: 3.938 kB / 0.7618 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.00233, allocations: 20.89 kB / 0.7618 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.002476, allocations: 15.97 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.404e-05/0.00255, allocations: 45.05 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.967e-05/0.002629, allocations: 9.5 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.889e-05/0.002708, allocations: 33.48 kB / 0.7619 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.002745, allocations: 17.62 kB / 0.7619 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.00276, allocations: 4 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.164e-05/0.002812, allocations: 9.156 kB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.002829, allocations: 13.62 kB / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.002846, allocations: 9.75 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.97e-05/0.002936, allocations: 39.88 kB / 0.762 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002938, allocations: 1.062 kB / 0.762 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002939, allocations: 0 / 0.762 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.002942, allocations: 1 kB / 0.762 GB, free: 4.707 MB / 0.7136 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.000285/0.003227, allocations: 248.8 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.003259, allocations: 12.53 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.003347, allocations: 8.938 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.174e-05/0.003429, allocations: 114.4 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.003437, allocations: 384 / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-06/0.003443, allocations: 5.125 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.00355, allocations: 67.67 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.003557, allocations: 4.125 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.003563, allocations: 1.812 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.003568, allocations: 384 / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.003589, allocations: 7.938 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.003779, allocations: 156.3 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.993e-05/0.003829, allocations: 19.83 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.003847, allocations: 16.8 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.00386, allocations: 1.344 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.003883, allocations: 38.55 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.003884, allocations: 3.938 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001052/0.003989, allocations: 43.06 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.004018, allocations: 59.47 kB / 0.7627 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.33e-05/0.004072, allocations: 110.7 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.004081, allocations: 25.7 kB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.004108, allocations: 92.62 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.004131, allocations: 14.72 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.004159, allocations: 13.72 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.004231, allocations: 314.8 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.004245, allocations: 11.94 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.055e-05/0.004256, allocations: 3.984 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.004283, allocations: 20.84 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004284, allocations: 0 / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.304e-05/0.004327, allocations: 37.69 kB / 0.7634 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.004338, allocations: 11.03 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.004343, allocations: 0 / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.004355, allocations: 3.938 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.799e-05/0.004413, allocations: 11.98 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.004416, allocations: 3.938 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.004438, allocations: 4 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.004443, allocations: 0 / 0.7634 GB, free: 3.102 MB / 0.7136 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.836e-05/0.004491, allocations: 115.3 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.004507, allocations: 3.984 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.004569, allocations: 45.69 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.004572, allocations: 3.938 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.004572, allocations: 0.6562 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.004576, allocations: 5.812 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.448e-05/0.00465, allocations: 65.89 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.004651, allocations: 0 / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.004679, allocations: 11.98 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.004681, allocations: 4 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-06/0.004686, allocations: 6.438 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004687, allocations: 0 / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.004688, allocations: 3.938 kB / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.542e-05/0.004754, allocations: 135.5 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.00476, allocations: 11.88 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.004768, allocations: 0 / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.004806, allocations: 14.42 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.004834, allocations: 7.984 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.004837, allocations: 3.938 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.145e-05/0.004848, allocations: 13.17 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004848, allocations: 0 / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001115/0.00496, allocations: 4 kB / 0.7638 GB, free: 2.609 MB / 0.7136 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.84e-05/0.005028, allocations: 77.45 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.273e-05/0.005091, allocations: 20.78 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.005093, allocations: 0.9375 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.005109, allocations: 9.188 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.005243, allocations: 18.11 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.005575, allocations: 135 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.307e-05/0.005608, allocations: 63.28 kB / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.005627, allocations: 0 / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.005675, allocations: 55.38 kB / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.005676, allocations: 0 / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of Templates: time 0.001988/0.007664, allocations: 0.6772 MB / 0.7648 GB, free: 1.539 MB / 0.7136 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 -s gbode -gbm=radauIIA3 -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.103730005212128]