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.001074/0.001074, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001126/0.001126, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.025/1.025, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.323/2.323, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 1.984e-06/1.984e-06, allocations: 0 / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.535e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.004593/0.004618, allocations: 0.7376 MB / 0.8905 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.005527, allocations: 0.8781 MB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.005564, allocations: 0 / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.005589, allocations: 4 kB / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.005657, allocations: 11.88 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.005814, allocations: 15.98 kB / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.005888, allocations: 59.77 kB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.034e-05/0.005968, allocations: 7.938 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.007e-05/0.006048, allocations: 31.91 kB / 0.8915 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.006085, allocations: 7.984 kB / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.006099, allocations: 4 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.982e-05/0.006149, allocations: 12 kB / 0.8915 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.006164, allocations: 7.984 kB / 0.8915 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.006187, allocations: 15.94 kB / 0.8916 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.51e-05/0.006282, allocations: 31.95 kB / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.006284, allocations: 0 / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.032e-06/0.006285, allocations: 0 / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.006288, allocations: 0 / 0.8916 GB, free: 7.855 MB / 0.8542 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.0003377/0.006626, allocations: 384.5 kB / 0.892 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.006666, allocations: 16.55 kB / 0.892 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.923e-05/0.006755, allocations: 8.891 kB / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.719e-05/0.006832, allocations: 116.6 kB / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.006843, allocations: 4.375 kB / 0.8921 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.006849, allocations: 4.375 kB / 0.8921 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.006975, allocations: 66.88 kB / 0.8922 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.006982, allocations: 192 / 0.8922 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.00699, allocations: 4.359 kB / 0.8922 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.006996, allocations: 4.375 kB / 0.8922 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.00702, allocations: 11.92 kB / 0.8922 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/0.01028, allocations: 244.4 kB / 0.8924 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.719e-05/0.01034, allocations: 31 kB / 0.8924 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.01036, allocations: 11.69 kB / 0.8925 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.01038, allocations: 4 kB / 0.8925 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.0104, allocations: 41.45 kB / 0.8925 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.01041, allocations: 0 / 0.8925 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001414/0.01055, allocations: 45.72 kB / 0.8925 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.01058, allocations: 51.41 kB / 0.8926 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.01066, allocations: 169.8 kB / 0.8928 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.01067, allocations: 25.7 kB / 0.8928 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.01073, allocations: 142.8 kB / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.01075, allocations: 11.84 kB / 0.8929 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.01079, allocations: 19.38 kB / 0.8929 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.01092, allocations: 0.4884 MB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.01094, allocations: 11.98 kB / 0.8934 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.01095, allocations: 0 / 0.8934 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.01098, allocations: 11.69 kB / 0.8934 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01098, allocations: 0 / 0.8934 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.951e-05/0.01105, allocations: 41.69 kB / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01107, allocations: 6.188 kB / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01107, allocations: 7.938 kB / 0.8935 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.01109, allocations: 3.938 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.01116, allocations: 15.98 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.01117, allocations: 0 / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.0112, allocations: 11.95 kB / 0.8935 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.0112, allocations: 0 / 0.8935 GB, free: 5.668 MB / 0.8542 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 6.245e-05/0.01126, allocations: 156.5 kB / 0.8937 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.01128, allocations: 4 kB / 0.8937 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-05/0.01137, allocations: 49.67 kB / 0.8937 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.01138, allocations: 11.94 kB / 0.8937 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.01138, allocations: 0 / 0.8937 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01138, allocations: 384 / 0.8937 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.0115, allocations: 105.2 kB / 0.8938 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.0115, allocations: 0 / 0.8938 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.01154, allocations: 19.92 kB / 0.8939 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.01154, allocations: 0 / 0.8939 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.01155, allocations: 7.984 kB / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.01155, allocations: 0 / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01155, allocations: 0 / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.01165, allocations: 195.8 kB / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.01166, allocations: 0 / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.01167, allocations: 4 kB / 0.8941 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.01172, allocations: 4 kB / 0.8941 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.01175, allocations: 7.922 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.01176, allocations: 4 kB / 0.8941 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.0118, allocations: 131.2 kB / 0.8942 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.0118, allocations: 0 / 0.8942 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002021/0.012, allocations: 8 kB / 0.8942 GB, free: 4.902 MB / 0.8542 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 9.133e-05/0.01209, allocations: 99.19 kB / 0.8943 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.634e-05/0.01216, allocations: 15.67 kB / 0.8943 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01216, allocations: 4 kB / 0.8943 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.01218, allocations: 11.69 kB / 0.8943 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.01241, allocations: 12 kB / 0.8943 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.01281, allocations: 142.2 kB / 0.8945 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.728e-05/0.01285, allocations: 59.34 kB / 0.8945 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.01288, allocations: 4 kB / 0.8945 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.01293, allocations: 70.2 kB / 0.8946 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of SimCode: time 6.72e-07/0.01294, allocations: 0 / 0.8946 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of Templates: time 0.002558/0.01549, allocations: 0.8128 MB / 0.8954 GB, free: 3.621 MB / 0.8542 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.277289025951177]