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.0008496/0.0008496, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007985/0.0007985, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8888/0.8888, allocations: 177.2 MB / 203.5 MB, free: 5.734 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.688/1.688, allocations: 359 MB / 0.6044 GB, free: 11.09 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.505e-06/2.505e-06, allocations: 0 / 0.9518 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.946e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001299/0.001329, allocations: 0.7028 MB / 0.9525 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007863/0.002115, allocations: 0.8587 MB / 0.9533 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.002149, allocations: 0 / 0.9533 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.002177, allocations: 3.938 kB / 0.9533 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.365e-05/0.002241, allocations: 15.86 kB / 0.9533 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.002428, allocations: 19.97 kB / 0.9534 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.682e-05/0.002505, allocations: 39.86 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.002601, allocations: 12 kB / 0.9534 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.002674, allocations: 27.95 kB / 0.9534 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.677e-05/0.002711, allocations: 15.92 kB / 0.9535 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.00273, allocations: 4 kB / 0.9535 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.75e-05/0.002777, allocations: 12 kB / 0.9535 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.002793, allocations: 7.984 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.002812, allocations: 11.94 kB / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.002929, allocations: 55.78 kB / 0.9535 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.002932, allocations: 0 / 0.9535 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002933, allocations: 0 / 0.9535 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.002937, allocations: 4 kB / 0.9535 GB, free: 1.105 MB / 0.9011 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.000385/0.003322, allocations: 286.2 kB / 0.9538 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.003357, allocations: 12.03 kB / 0.9538 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.003435, allocations: 12.88 kB / 0.9538 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.66e-05/0.003512, allocations: 105.8 kB / 0.9539 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.003523, allocations: 8.312 kB / 0.954 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.003531, allocations: 384 / 0.954 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.003698, allocations: 74.16 kB / 0.954 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.003706, allocations: 4.188 kB / 0.954 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.003715, allocations: 384 / 0.954 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.003719, allocations: 384 / 0.954 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.003863, allocations: 71.8 kB / 0.9541 GB, free: 492 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.004151, allocations: 208.5 kB / 0.9543 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.004277, allocations: 58.53 kB / 0.9544 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/0.004354, allocations: 40.91 kB / 0.9544 GB, free: 140 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.004373, allocations: 4 kB / 0.9544 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.004397, allocations: 38.5 kB / 0.9544 GB, free: 88 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.004398, allocations: 0 / 0.9544 GB, free: 88 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003254/0.004723, allocations: 129.5 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.004752, allocations: 51.41 kB / 0.9546 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.486e-05/0.004817, allocations: 109.8 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.00483, allocations: 25.7 kB / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.004871, allocations: 88.12 kB / 0.9548 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.004889, allocations: 11.91 kB / 0.9548 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.004916, allocations: 13.72 kB / 0.9548 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.004997, allocations: 322.8 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-05/0.005072, allocations: 31.97 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.005138, allocations: 31.97 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.005274, allocations: 69 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005276, allocations: 0 / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001624/0.005439, allocations: 101.6 kB / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.005456, allocations: 15.92 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.00546, allocations: 0 / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.005472, allocations: 0 / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.005551, allocations: 11.98 kB / 0.9554 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.005555, allocations: 4 kB / 0.9554 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.005591, allocations: 11.98 kB / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.005598, allocations: 8 kB / 0.9554 GB, free: 15.01 MB / 0.9167 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 5.914e-05/0.005657, allocations: 105.8 kB / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.005673, allocations: 7.953 kB / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.005873, allocations: 113.5 kB / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.005876, allocations: 7.938 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.00588, allocations: 0 / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.005882, allocations: 0 / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.159e-05/0.005974, allocations: 117.3 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005975, allocations: 0 / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.006019, allocations: 11.98 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006021, allocations: 0 / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.006028, allocations: 8 kB / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.00603, allocations: 7.875 kB / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006031, allocations: 0 / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.006218, allocations: 199.4 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.006226, allocations: 4 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.006236, allocations: 0 / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.006287, allocations: 15.92 kB / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.006322, allocations: 7.984 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.006325, allocations: 0 / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.006359, allocations: 91.58 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006359, allocations: 0 / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001457/0.006504, allocations: 8 kB / 0.9561 GB, free: 14.25 MB / 0.9167 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.437e-05/0.006599, allocations: 103.2 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.006783, allocations: 67.92 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.006784, allocations: 0 / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.097e-05/0.006855, allocations: 35.91 kB / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.007084, allocations: 15.98 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.007344, allocations: 154.4 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.15e-05/0.007385, allocations: 63.34 kB / 0.9565 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.007415, allocations: 8.5 kB / 0.9565 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of SimCode: time 6.92e-07/0.007416, allocations: 0 / 0.9565 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of Templates: time 0.001537/0.008952, allocations: 0.7765 MB / 0.9573 GB, free: 12.98 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.274847508408129]