Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001171/0.001171, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0012/0.0012, allocations: 185.3 kB / 24.09 MB, free: 416 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.951/0.951, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.743/1.743, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.7876 GB, free: 11 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.312e-05, allocations: 5.797 kB / 0.7876 GB, free: 10.99 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001492/0.001525, allocations: 0.7048 MB / 0.7883 GB, free: 10.3 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.002476, allocations: 0.8873 MB / 0.7892 GB, free: 9.406 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.002512, allocations: 4 kB / 0.7892 GB, free: 9.402 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.002537, allocations: 4.812 kB / 0.7892 GB, free: 9.398 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.002606, allocations: 16.42 kB / 0.7892 GB, free: 9.383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.002797, allocations: 11.98 kB / 0.7892 GB, free: 9.371 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.002881, allocations: 52.62 kB / 0.7893 GB, free: 9.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.002966, allocations: 0 / 0.7893 GB, free: 9.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.00304, allocations: 29.38 kB / 0.7893 GB, free: 9.293 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.468e-05/0.003075, allocations: 23.91 kB / 0.7893 GB, free: 9.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.003091, allocations: 4 kB / 0.7893 GB, free: 9.266 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.003134, allocations: 4 kB / 0.7893 GB, free: 9.262 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.00315, allocations: 15.02 kB / 0.7893 GB, free: 9.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.493e-05/0.003165, allocations: 8 kB / 0.7894 GB, free: 9.242 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.003264, allocations: 43.77 kB / 0.7894 GB, free: 9.199 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003267, allocations: 0 / 0.7894 GB, free: 9.199 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.173e-06/0.003268, allocations: 0 / 0.7894 GB, free: 9.199 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.003273, allocations: 0 / 0.7894 GB, free: 9.199 MB / 0.698 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.0003295/0.003602, allocations: 380.1 kB / 0.7898 GB, free: 8.789 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.003646, allocations: 13.2 kB / 0.7898 GB, free: 8.777 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.003751, allocations: 12.89 kB / 0.7898 GB, free: 8.766 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.694e-05/0.003848, allocations: 112.5 kB / 0.7899 GB, free: 8.629 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.003858, allocations: 4.969 kB / 0.7899 GB, free: 8.625 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.003864, allocations: 384 / 0.7899 GB, free: 8.625 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.00399, allocations: 64.06 kB / 0.79 GB, free: 8.555 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.003996, allocations: 4.188 kB / 0.79 GB, free: 8.551 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.004002, allocations: 0.9062 kB / 0.79 GB, free: 8.551 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.004006, allocations: 384 / 0.79 GB, free: 8.551 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.249e-05/0.004029, allocations: 16.42 kB / 0.79 GB, free: 8.535 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.004248, allocations: 241.1 kB / 0.7902 GB, free: 8.273 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.015e-05/0.004298, allocations: 32.42 kB / 0.7902 GB, free: 8.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.632e-05/0.004315, allocations: 19.75 kB / 0.7903 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.004333, allocations: 0 / 0.7903 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.004352, allocations: 41.33 kB / 0.7903 GB, free: 8.156 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.004353, allocations: 1.75 kB / 0.7903 GB, free: 8.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001225/0.004476, allocations: 49.66 kB / 0.7903 GB, free: 8.102 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.004501, allocations: 51.41 kB / 0.7904 GB, free: 8.039 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.00457, allocations: 173.9 kB / 0.7906 GB, free: 7.852 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.004582, allocations: 27.23 kB / 0.7906 GB, free: 7.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.004629, allocations: 138.8 kB / 0.7907 GB, free: 7.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.004647, allocations: 3.953 kB / 0.7907 GB, free: 7.676 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.004674, allocations: 27.36 kB / 0.7907 GB, free: 7.641 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.004789, allocations: 493.9 kB / 0.7912 GB, free: 7.148 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.004806, allocations: 7.984 kB / 0.7912 GB, free: 7.141 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-06/0.004815, allocations: 0 / 0.7912 GB, free: 7.141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.004845, allocations: 19.62 kB / 0.7912 GB, free: 7.117 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.004847, allocations: 0 / 0.7912 GB, free: 7.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.317e-05/0.00491, allocations: 47.92 kB / 0.7913 GB, free: 7.066 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.004922, allocations: 8 kB / 0.7913 GB, free: 7.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.004926, allocations: 0 / 0.7913 GB, free: 7.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.004938, allocations: 4.266 kB / 0.7913 GB, free: 7.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.005018, allocations: 11.98 kB / 0.7913 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.005021, allocations: 0 / 0.7913 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.005046, allocations: 4.531 kB / 0.7913 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.005053, allocations: 4.719 kB / 0.7913 GB, free: 7.035 MB / 0.698 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.595e-05/0.005128, allocations: 161 kB / 0.7915 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.005143, allocations: 0 / 0.7915 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.084e-05/0.005234, allocations: 59.25 kB / 0.7915 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.005236, allocations: 3.938 kB / 0.7915 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.005238, allocations: 0 / 0.7915 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005241, allocations: 0 / 0.7915 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.389e-05/0.005335, allocations: 109.8 kB / 0.7916 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.005336, allocations: 4 kB / 0.7916 GB, free: 6.664 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.005374, allocations: 12.73 kB / 0.7917 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.005376, allocations: 0.625 kB / 0.7917 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-06/0.005379, allocations: 0 / 0.7917 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.00538, allocations: 1.156 kB / 0.7917 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005381, allocations: 0 / 0.7917 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.005482, allocations: 199.8 kB / 0.7918 GB, free: 6.438 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.00549, allocations: 4.688 kB / 0.7919 GB, free: 6.434 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.005497, allocations: 0 / 0.7919 GB, free: 6.434 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.005532, allocations: 8.594 kB / 0.7919 GB, free: 6.426 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.00556, allocations: 7.922 kB / 0.7919 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.005564, allocations: 8.844 kB / 0.7919 GB, free: 6.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.005607, allocations: 131.2 kB / 0.792 GB, free: 6.281 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.005607, allocations: 1.906 kB / 0.792 GB, free: 6.281 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000137/0.005744, allocations: 8 kB / 0.792 GB, free: 6.273 MB / 0.698 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.0001064/0.00585, allocations: 91.25 kB / 0.7921 GB, free: 6.172 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.313e-05/0.005923, allocations: 24.33 kB / 0.7921 GB, free: 6.145 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005925, allocations: 0 / 0.7921 GB, free: 6.145 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.842e-05/0.005944, allocations: 14.06 kB / 0.7921 GB, free: 6.129 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.006142, allocations: 12 kB / 0.7921 GB, free: 6.117 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.00654, allocations: 136.2 kB / 0.7923 GB, free: 5.957 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.00667, allocations: 59.34 kB / 0.7923 GB, free: 5.879 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.006694, allocations: 0 / 0.7923 GB, free: 5.879 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.006751, allocations: 74.2 kB / 0.7924 GB, free: 5.805 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/0.006752, allocations: 0.5 kB / 0.7924 GB, free: 5.805 MB / 0.698 GB Notification: Performance of Templates: time 0.002247/0.008999, allocations: 0.8078 MB / 0.7932 GB, free: 5.023 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.807458795141429]