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.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.002087/0.002087, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002542/0.002542, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.634/1.634, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.906/2.906, allocations: 476.7 MB / 0.7629 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002713/0.002713, allocations: 71.89 kB / 1.107 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258/1.261, allocations: 168.7 MB / 1.272 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002208/1.263, allocations: 0.7176 MB / 1.273 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001143/1.264, allocations: 0.8293 MB / 1.274 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/1.264, allocations: 1.406 kB / 1.274 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/1.264, allocations: 3.938 kB / 1.274 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/1.264, allocations: 6.641 kB / 1.274 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/1.265, allocations: 18.92 kB / 1.274 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/1.265, allocations: 43.7 kB / 1.274 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/1.265, allocations: 8.734 kB / 1.274 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/1.265, allocations: 18.88 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.497e-05/1.265, allocations: 30.02 kB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/1.265, allocations: 7.969 kB / 1.274 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/1.265, allocations: 3.531 kB / 1.274 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/1.265, allocations: 6.875 kB / 1.274 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/1.265, allocations: 17.75 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/1.265, allocations: 47.73 kB / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.265, allocations: 1.219 kB / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.305e-06/1.265, allocations: 0 / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.315e-05/1.265, allocations: 0.7188 kB / 1.274 GB, free: 6.746 MB / 0.9981 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.000556/1.266, allocations: 364.7 kB / 1.274 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.266, allocations: 9.062 kB / 1.274 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/1.266, allocations: 6.922 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/1.266, allocations: 170.3 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/1.266, allocations: 1.438 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/1.266, allocations: 1.312 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/1.266, allocations: 72.59 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.266, allocations: 5.312 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.266, allocations: 3.938 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.266, allocations: 0.9688 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/1.267, allocations: 64.83 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/1.267, allocations: 266.2 kB / 1.275 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/1.267, allocations: 63.77 kB / 1.275 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/1.267, allocations: 35.59 kB / 1.275 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/1.267, allocations: 0.6562 kB / 1.275 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.267, allocations: 36.53 kB / 1.275 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/1.267, allocations: 0 / 1.275 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005584/1.268, allocations: 131 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.268, allocations: 51.41 kB / 1.275 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.411e-05/1.268, allocations: 111.7 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/1.268, allocations: 25.7 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/1.268, allocations: 93.56 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/1.268, allocations: 16.7 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/1.268, allocations: 11.56 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/1.268, allocations: 319 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/1.268, allocations: 26.27 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/1.269, allocations: 31.98 kB / 1.276 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/1.269, allocations: 75.66 kB / 1.276 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.269, allocations: 4.688 kB / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002981/1.269, allocations: 95.7 kB / 1.276 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.269, allocations: 9.781 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.269, allocations: 2.812 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/1.269, allocations: 0.9062 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.269, allocations: 15.22 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/1.269, allocations: 4.25 kB / 1.276 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.787e-05/1.269, allocations: 14.62 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/1.269, allocations: 1.094 kB / 1.276 GB, free: 4.969 MB / 0.9981 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 7.116e-05/1.269, allocations: 118.2 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/1.27, allocations: 5.906 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/1.27, allocations: 104 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.27, allocations: 0.7188 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.27, allocations: 0 / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.27, allocations: 3.656 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/1.27, allocations: 169.1 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.27, allocations: 4 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/1.27, allocations: 15.5 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.27, allocations: 5.891 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/1.27, allocations: 4.641 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.27, allocations: 0 / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.27, allocations: 4.859 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/1.271, allocations: 206.3 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/1.271, allocations: 78.47 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/1.271, allocations: 2.766 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/1.271, allocations: 10.14 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/1.271, allocations: 7.625 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/1.271, allocations: 6.344 kB / 1.277 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.696e-05/1.271, allocations: 87.7 kB / 1.277 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.271, allocations: 4 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000216/1.271, allocations: 6.438 kB / 1.277 GB, free: 4.234 MB / 0.9981 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.0001521/1.271, allocations: 99.09 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003557/1.271, allocations: 70.44 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.271, allocations: 0 / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/1.272, allocations: 37.7 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/1.272, allocations: 9.125 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/1.272, allocations: 152.3 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/1.273, allocations: 0.6809 MB / 1.278 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.194e-05/1.273, allocations: 5.5 kB / 1.278 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/1.273, allocations: 9.469 kB / 1.278 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.273, allocations: 0 / 1.278 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of Templates: time 0.004809/1.277, allocations: 0.6882 MB / 1.278 GB, free: 3.215 MB / 0.9981 GB " [Timeout remaining time 299] 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: 9.942977176979184]