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.001431/0.001431, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001943/0.001943, allocations: 165 kB / 23.02 MB, free: 1.551 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.039/1.039, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.192/2.192, allocations: 429.5 MB / 0.6732 GB, free: 4.066 MB / 0.6355 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 2.745e-06/2.745e-06, allocations: 0 / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.262e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002322/0.002355, allocations: 0.7188 MB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.003693, allocations: 0.8854 MB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.003748, allocations: 4 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.00379, allocations: 5.688 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.697e-05/0.003887, allocations: 17.66 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.004154, allocations: 11.98 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.004274, allocations: 47.86 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.004398, allocations: 7.969 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.004505, allocations: 31.8 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.004563, allocations: 19.97 kB / 0.88 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.004585, allocations: 4 kB / 0.88 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-05/0.004642, allocations: 4 kB / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.004661, allocations: 8 kB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.004691, allocations: 15.92 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.004832, allocations: 39.83 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004835, allocations: 0 / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004835, allocations: 0 / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.004841, allocations: 3.938 kB / 0.88 GB, free: 4.445 MB / 0.8386 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.0004597/0.0053, allocations: 381.4 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.005347, allocations: 12.03 kB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.005475, allocations: 5.969 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.005587, allocations: 120.5 kB / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.005602, allocations: 4.375 kB / 0.8805 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.005616, allocations: 1.5 kB / 0.8805 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.005802, allocations: 66.94 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.005815, allocations: 1.219 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.005826, allocations: 384 / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.005838, allocations: 384 / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.894e-05/0.005887, allocations: 12.94 kB / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.006265, allocations: 263.8 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.039e-05/0.006355, allocations: 35.7 kB / 0.8809 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.006388, allocations: 15.69 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.006413, allocations: 3.469 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.006439, allocations: 37.39 kB / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.006441, allocations: 0 / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001992/0.00664, allocations: 57.64 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.006673, allocations: 51.41 kB / 0.881 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.006775, allocations: 169.9 kB / 0.8812 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.00679, allocations: 29.7 kB / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.006849, allocations: 134.9 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.006873, allocations: 7.906 kB / 0.8814 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.006915, allocations: 24.22 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.007067, allocations: 496.1 kB / 0.8819 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.007097, allocations: 0.5938 kB / 0.8819 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.007119, allocations: 7.984 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.148e-05/0.00717, allocations: 20.91 kB / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007173, allocations: 0 / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001054/0.007278, allocations: 45.69 kB / 0.8819 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.007295, allocations: 9.312 kB / 0.8819 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.007301, allocations: 0 / 0.8819 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.007324, allocations: 4 kB / 0.882 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.007435, allocations: 12.59 kB / 0.882 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.007443, allocations: 7.922 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.007479, allocations: 5.125 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.007486, allocations: 0 / 0.882 GB, free: 2.246 MB / 0.8386 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 8.53e-05/0.007572, allocations: 156.6 kB / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.007601, allocations: 11.95 kB / 0.8821 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.007738, allocations: 61.55 kB / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.00774, allocations: 0 / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.007745, allocations: 0 / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.007749, allocations: 0 / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.007899, allocations: 124.6 kB / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.007901, allocations: 0 / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.00796, allocations: 11.98 kB / 0.8823 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.007963, allocations: 0 / 0.8823 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.007971, allocations: 0 / 0.8823 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.007974, allocations: 7.938 kB / 0.8823 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.007976, allocations: 0 / 0.8823 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.008134, allocations: 191.9 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.008143, allocations: 7.953 kB / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.008156, allocations: 0 / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.008228, allocations: 11.92 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.008271, allocations: 8 kB / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.008276, allocations: 432 / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.008329, allocations: 135.5 kB / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008329, allocations: 0 / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002624/0.008591, allocations: 8 kB / 0.8827 GB, free: 1.453 MB / 0.8386 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.143e-05/0.008682, allocations: 95.25 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.008791, allocations: 23.66 kB / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.008793, allocations: 0 / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.008826, allocations: 19.62 kB / 0.8828 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.00913, allocations: 11.98 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.009779, allocations: 130.3 kB / 0.8829 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.00983, allocations: 59.34 kB / 0.883 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.00986, allocations: 4 kB / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.009902, allocations: 8.5 kB / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of SimCode: time 4.819e-06/0.009907, allocations: 0 / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of Templates: time 0.003591/0.0135, allocations: 0.7591 MB / 0.8838 GB, free: 300 kB / 0.8386 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.645337539725006]