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.001394/0.001394, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001589/0.001589, allocations: 181 kB / 23.36 MB, free: 1.133 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.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.555/2.555, allocations: 438.8 MB / 0.6826 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.485e-06/2.485e-06, allocations: 4 kB / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.565e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001372/0.001388, allocations: 0.7598 MB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.002176, allocations: 0.8859 MB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.002207, allocations: 0 / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.002233, allocations: 7.938 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.002296, allocations: 7.875 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.002425, allocations: 19.97 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.002489, allocations: 47.86 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.176e-05/0.002561, allocations: 15.91 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.199e-05/0.002633, allocations: 23.92 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.493e-05/0.002668, allocations: 11.98 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.002681, allocations: 4 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.208e-05/0.002734, allocations: 12 kB / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.002748, allocations: 11.92 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.002764, allocations: 12 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.425e-05/0.002848, allocations: 39.81 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.00285, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00285, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.002854, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 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.000259/0.003113, allocations: 260.8 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.003143, allocations: 8.625 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.00322, allocations: 4.938 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.184e-05/0.003291, allocations: 117.7 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.0033, allocations: 4.375 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-06/0.003305, allocations: 8.375 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.427e-05/0.003399, allocations: 58.94 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.003405, allocations: 192 / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.003412, allocations: 4.375 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.003417, allocations: 384 / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.003438, allocations: 15.88 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.00362, allocations: 148.3 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.0038, allocations: 26.64 kB / 0.8411 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.003812, allocations: 4.953 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.003827, allocations: 11.98 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.003845, allocations: 34.5 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.01e-07/0.003845, allocations: 0 / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.893e-05/0.003944, allocations: 49.61 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.003969, allocations: 51.41 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.004029, allocations: 118.7 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.004039, allocations: 29.7 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.004063, allocations: 88.12 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.004079, allocations: 11.84 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.004101, allocations: 17.66 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.004165, allocations: 318.8 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.004175, allocations: 8 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-06/0.004184, allocations: 4 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.266e-05/0.004207, allocations: 16.78 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004208, allocations: 4 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.401e-05/0.004252, allocations: 45.69 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.004263, allocations: 5.875 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.004267, allocations: 0 / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.004278, allocations: 3.938 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.004335, allocations: 11.98 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-06/0.004337, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.004357, allocations: 8 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.004362, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.8073 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.752e-05/0.004409, allocations: 113.8 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.004424, allocations: 3.984 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.903e-05/0.004483, allocations: 45.69 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.004486, allocations: 7.938 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.004487, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.004489, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.5e-05/0.004564, allocations: 69.89 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.004565, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.004593, allocations: 15.98 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.004594, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-06/0.004598, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004599, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004599, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.831e-05/0.004668, allocations: 147.4 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.004674, allocations: 7.953 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-06/0.004682, allocations: 3.984 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.004717, allocations: 4 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.004742, allocations: 3.984 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.004745, allocations: 7.938 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.111e-05/0.004756, allocations: 16.86 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.21e-07/0.004756, allocations: 0 / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001139/0.00487, allocations: 8 kB / 0.8424 GB, free: 10.07 MB / 0.8073 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.131e-05/0.004931, allocations: 80.77 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.128e-05/0.004982, allocations: 16.8 kB / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.004984, allocations: 0 / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-05/0.005002, allocations: 12.94 kB / 0.8425 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.005131, allocations: 19.98 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.005451, allocations: 132.5 kB / 0.8426 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.015e-05/0.005481, allocations: 59.3 kB / 0.8427 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.683e-05/0.005498, allocations: 0 / 0.8427 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.005544, allocations: 59.36 kB / 0.8427 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of SimCode: time 3.8e-07/0.005545, allocations: 0 / 0.8427 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of Templates: time 0.001917/0.007462, allocations: 0.6824 MB / 0.8434 GB, free: 8.961 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.353038428816944]