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.0009442/0.0009442, allocations: 80.8 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.00106/0.00106, 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 0.9759/0.9759, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.901/1.901, allocations: 377.9 MB / 0.624 GB, free: 8.348 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.313e-06/1.313e-06, allocations: 0 / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.28e-05, allocations: 6.125 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001132/0.001145, allocations: 0.7263 MB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.001948, allocations: 0.8839 MB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.001975, allocations: 4 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.001994, allocations: 5.281 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.002054, allocations: 4.047 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.002185, allocations: 23.91 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.119e-05/0.002256, allocations: 53.62 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.002315, allocations: 11.92 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.338e-05/0.002378, allocations: 20.97 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.163e-05/0.00241, allocations: 14.48 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.002422, allocations: 4.656 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.637e-05/0.002459, allocations: 12.78 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.002474, allocations: 9.188 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.00249, allocations: 14.95 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.623e-05/0.002576, allocations: 29.81 kB / 0.7619 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.002577, allocations: 3.938 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002578, allocations: 0 / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.002581, allocations: 1.938 kB / 0.7619 GB, free: 4.773 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.0002305/0.002811, allocations: 256.8 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.002838, allocations: 12.03 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.002905, allocations: 4.938 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.581e-05/0.002971, allocations: 123.8 kB / 0.7622 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.00298, allocations: 4.375 kB / 0.7622 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.002989, allocations: 4.375 kB / 0.7622 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.918e-05/0.003078, allocations: 58.94 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.003084, allocations: 192 / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.003091, allocations: 5.844 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.003094, allocations: 384 / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.003114, allocations: 11.94 kB / 0.7623 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.003282, allocations: 152.2 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.005e-05/0.003332, allocations: 27.89 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.003347, allocations: 12.94 kB / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.003359, allocations: 4 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.003374, allocations: 31.81 kB / 0.7625 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.003375, allocations: 0 / 0.7625 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 8.409e-05/0.003459, allocations: 49.56 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.003483, allocations: 51.97 kB / 0.7626 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.017e-05/0.003533, allocations: 111.2 kB / 0.7627 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.003542, allocations: 29.7 kB / 0.7628 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.003569, allocations: 97.61 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.003583, allocations: 7.891 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.00361, allocations: 13.72 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.003677, allocations: 318.8 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.003686, allocations: 5.062 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-06/0.003695, allocations: 4 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/0.003718, allocations: 16.78 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.003719, allocations: 3.156 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.152e-05/0.003761, allocations: 45.69 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.00377, allocations: 4 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.003773, allocations: 3.938 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.00378, allocations: 3.938 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.103e-05/0.003831, allocations: 11.98 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-06/0.003832, allocations: 0 / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.003853, allocations: 6.781 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.003856, allocations: 0 / 0.7633 GB, free: 3.164 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.268e-05/0.003899, allocations: 109.8 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.003912, allocations: 3.984 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.003971, allocations: 49.95 kB / 0.7634 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.003975, allocations: 11.97 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.003978, allocations: 4 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.003981, allocations: 1.312 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.667e-05/0.004058, allocations: 73.88 kB / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004058, allocations: 0 / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.004083, allocations: 12.73 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.004084, allocations: 0 / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-06/0.004088, allocations: 0.75 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004088, allocations: 0 / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004089, allocations: 0 / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.65e-05/0.004156, allocations: 144.2 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.004161, allocations: 3.953 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-06/0.004169, allocations: 8.641 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.555e-05/0.004205, allocations: 4.594 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.004227, allocations: 3.984 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.004229, allocations: 6.906 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.091e-05/0.00424, allocations: 16.86 kB / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00424, allocations: 0 / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001117/0.004352, allocations: 4 kB / 0.7637 GB, free: 2.664 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 5.545e-05/0.004407, allocations: 80.41 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.772e-05/0.004455, allocations: 12.86 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.004457, allocations: 3.125 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.004475, allocations: 20.78 kB / 0.7638 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.004596, allocations: 11.98 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.004896, allocations: 134.8 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.79e-05/0.004924, allocations: 61.11 kB / 0.764 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.523e-05/0.004939, allocations: 3.938 kB / 0.764 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.004982, allocations: 59.36 kB / 0.7641 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/0.004982, allocations: 1.562 kB / 0.7641 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.001896/0.006878, allocations: 0.6729 MB / 0.7648 GB, free: 1.59 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 -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.0019644079729915]