Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 182.8 kB / 22.22 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 443.5 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.89 kB / 1.062 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9837/0.9857, allocations: 160.8 MB / 1.219 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002376/0.9881, allocations: 0.7181 MB / 1.219 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.9897, allocations: 0.828 MB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.9898, allocations: 0 / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.124e-05/0.9898, allocations: 7.922 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.88e-05/0.9899, allocations: 6.094 kB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.9901, allocations: 18.39 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.9902, allocations: 45.23 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.9903, allocations: 19.81 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.9904, allocations: 21.55 kB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.9905, allocations: 17.95 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.9905, allocations: 3.969 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.9905, allocations: 7.688 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.9905, allocations: 5.031 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.9906, allocations: 23.55 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.9907, allocations: 44.14 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.9907, allocations: 0 / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9907, allocations: 4 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.9907, allocations: 0 / 1.22 GB, free: 2.285 MB / 0.92 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.0006773/0.9914, allocations: 361.9 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.9915, allocations: 12.92 kB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.9915, allocations: 11.23 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.9917, allocations: 163 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.9917, allocations: 1.719 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.9917, allocations: 5.531 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.992, allocations: 76 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.992, allocations: 192 / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.992, allocations: 3.938 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.992, allocations: 1.375 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.9923, allocations: 68.09 kB / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.9927, allocations: 270.5 kB / 1.221 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.9929, allocations: 59.41 kB / 1.221 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.9931, allocations: 34.33 kB / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.9931, allocations: 5.125 kB / 1.221 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.9931, allocations: 35.72 kB / 1.221 GB, free: 1.188 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.9931, allocations: 0 / 1.221 GB, free: 1.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005272/0.9937, allocations: 126.2 kB / 1.221 GB, free: 1.113 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.9937, allocations: 60.41 kB / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.9938, allocations: 107.3 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.9938, allocations: 25.7 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.9939, allocations: 86.11 kB / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.9939, allocations: 21.83 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.994, allocations: 15.94 kB / 1.222 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.9941, allocations: 311.9 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.9943, allocations: 38.39 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.9944, allocations: 28.59 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.9947, allocations: 68.09 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.9947, allocations: 3.938 kB / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003041/0.995, allocations: 98 kB / 1.222 GB, free: 344 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.995, allocations: 8.594 kB / 1.222 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.995, allocations: 1.031 kB / 1.222 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.995, allocations: 0 / 1.222 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.9951, allocations: 18.88 kB / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9951, allocations: 0 / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.9952, allocations: 19.42 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.9952, allocations: 0 / 1.222 GB, free: 320 kB / 0.92 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 0.0001069/0.9953, allocations: 128.1 kB / 1.222 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.9954, allocations: 5.047 kB / 1.222 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.9957, allocations: 105.1 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.9957, allocations: 4 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9957, allocations: 1.406 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.9957, allocations: 0 / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.996, allocations: 173.4 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.996, allocations: 3.938 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.306e-05/0.9961, allocations: 14.92 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.9961, allocations: 0 / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.9961, allocations: 1.656 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9961, allocations: 0 / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9961, allocations: 0 / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.9965, allocations: 208.9 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.9965, allocations: 82.42 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.9965, allocations: 1.344 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.9966, allocations: 9.859 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.9967, allocations: 10.08 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.9967, allocations: 1.125 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.658e-05/0.9968, allocations: 93.03 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9968, allocations: 1.062 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002216/0.997, allocations: 9.812 kB / 1.223 GB, free: 15.5 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.000147/0.9971, allocations: 97.06 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003762/0.9975, allocations: 70.11 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9975, allocations: 1.281 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.9976, allocations: 31 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.998, allocations: 15.61 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.9984, allocations: 140.5 kB / 1.223 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.9989, allocations: 0.6804 MB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.9989, allocations: 5.203 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.9989, allocations: 8.562 kB / 1.224 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.9989, allocations: 1.094 kB / 1.224 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of Templates: time 0.004245/1.003, allocations: 0.6891 MB / 1.225 GB, free: 14.16 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.295410240069032]