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.001768/0.001768, allocations: 80.45 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002196/0.002196, allocations: 160.8 kB / 22.45 MB, free: 5.375 MB / 14.72 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.574/1.574, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.893/2.893, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.254e-06/2.254e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.313e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001861/0.001894, allocations: 0.7099 MB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.00313, allocations: 0.8587 MB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.003171, allocations: 0 / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.003204, allocations: 0 / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.003281, allocations: 15.88 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.003511, allocations: 23.89 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.003625, allocations: 47.86 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.003768, allocations: 7.984 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.003901, allocations: 27.92 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.003966, allocations: 11.98 kB / 0.9832 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.003987, allocations: 4 kB / 0.9832 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-05/0.004054, allocations: 11.98 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.004084, allocations: 11.92 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.004113, allocations: 11.94 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.004284, allocations: 55.78 kB / 0.9832 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004286, allocations: 0 / 0.9832 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004287, allocations: 0 / 0.9832 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.004293, allocations: 4 kB / 0.9833 GB, free: 10.07 MB / 0.9356 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.0005996/0.004892, allocations: 300.2 kB / 0.9835 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.004938, allocations: 8.031 kB / 0.9835 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.005039, allocations: 8.891 kB / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.005149, allocations: 105.8 kB / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.005164, allocations: 384 / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.00518, allocations: 384 / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.005467, allocations: 82.14 kB / 0.9837 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.005476, allocations: 192 / 0.9837 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.005487, allocations: 384 / 0.9837 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.005494, allocations: 4.375 kB / 0.9837 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.005808, allocations: 63.88 kB / 0.9838 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.006178, allocations: 212.5 kB / 0.984 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.006421, allocations: 62.48 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.006583, allocations: 40.91 kB / 0.9841 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.006609, allocations: 4 kB / 0.9841 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.006642, allocations: 30.56 kB / 0.9841 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.006643, allocations: 0 / 0.9841 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005833/0.007226, allocations: 133.5 kB / 0.9843 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.00727, allocations: 51.41 kB / 0.9843 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.007382, allocations: 109.8 kB / 0.9844 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.007404, allocations: 33.64 kB / 0.9844 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.007466, allocations: 80.14 kB / 0.9845 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.007495, allocations: 19.84 kB / 0.9845 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.007532, allocations: 9.719 kB / 0.9846 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.007687, allocations: 322.8 kB / 0.9849 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.007844, allocations: 31.97 kB / 0.9849 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.007985, allocations: 32.14 kB / 0.9849 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.008276, allocations: 68.88 kB / 0.985 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008278, allocations: 0 / 0.985 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003417/0.008619, allocations: 101.6 kB / 0.9851 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.008637, allocations: 11.94 kB / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.008642, allocations: 0 / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.008658, allocations: 0 / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.008803, allocations: 19.92 kB / 0.9851 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.008811, allocations: 0 / 0.9851 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.008892, allocations: 7.984 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.0089, allocations: 8 kB / 0.9851 GB, free: 7.977 MB / 0.9356 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 9.978e-05/0.009, allocations: 117.8 kB / 0.9852 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.00903, allocations: 7.953 kB / 0.9852 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.009424, allocations: 105.5 kB / 0.9853 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.009426, allocations: 0 / 0.9853 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.00943, allocations: 0 / 0.9853 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.009433, allocations: 0 / 0.9853 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.009585, allocations: 117.3 kB / 0.9855 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.009586, allocations: 0 / 0.9855 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.711e-05/0.009683, allocations: 11.98 kB / 0.9855 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.009685, allocations: 4 kB / 0.9855 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.009694, allocations: 3.938 kB / 0.9855 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.009698, allocations: 3.938 kB / 0.9855 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.009701, allocations: 3.984 kB / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.01012, allocations: 191.4 kB / 0.9857 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.01013, allocations: 4 kB / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.01014, allocations: 4 kB / 0.9857 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.01026, allocations: 19.92 kB / 0.9857 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.01031, allocations: 3.984 kB / 0.9857 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.01032, allocations: 4 kB / 0.9857 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.866e-05/0.01038, allocations: 87.27 kB / 0.9858 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01038, allocations: 0 / 0.9858 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002276/0.0106, allocations: 11.94 kB / 0.9858 GB, free: 7.227 MB / 0.9356 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 0.0001317/0.01074, allocations: 99.72 kB / 0.9859 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.0111, allocations: 71.86 kB / 0.986 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.0111, allocations: 0 / 0.986 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.01126, allocations: 35.95 kB / 0.986 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.01157, allocations: 12 kB / 0.986 GB, free: 7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.01193, allocations: 132.7 kB / 0.9861 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.591e-05/0.01199, allocations: 63.34 kB / 0.9862 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.01202, allocations: 3.984 kB / 0.9862 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.01206, allocations: 16.83 kB / 0.9862 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of SimCode: time 4.3e-07/0.01206, allocations: 0 / 0.9862 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of Templates: time 0.003743/0.01581, allocations: 0.7317 MB / 0.9869 GB, free: 6.02 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.480825010687113]