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.001419/0.001419, allocations: 92.22 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.0016/0.0016, allocations: 173 kB / 23.02 MB, free: 1.547 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.176/2.176, allocations: 429.5 MB / 0.6732 GB, free: 4.012 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 4.057e-06/4.057e-06, allocations: 0 / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.684e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001907/0.001943, allocations: 0.7214 MB / 0.8789 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009826/0.002926, allocations: 0.886 MB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.002963, allocations: 0 / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.002999, allocations: 3.938 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/0.003084, allocations: 23.34 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.003306, allocations: 15.98 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.68e-05/0.003392, allocations: 40.52 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.0035, allocations: 17.14 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.003585, allocations: 23.97 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.003628, allocations: 15.92 kB / 0.8799 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.003649, allocations: 4 kB / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.478e-05/0.003704, allocations: 12.48 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.003722, allocations: 8.844 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.003748, allocations: 11.94 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.003878, allocations: 43.38 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.003882, allocations: 0 / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/0.003883, allocations: 0 / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.003889, allocations: 0 / 0.88 GB, free: 4.43 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.0004136/0.004302, allocations: 380.5 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.004347, allocations: 8.031 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.004474, allocations: 8.938 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.297e-05/0.004567, allocations: 116.5 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004578, allocations: 384 / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.004589, allocations: 4.969 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.004743, allocations: 68.2 kB / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.004751, allocations: 4.125 kB / 0.8806 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.004762, allocations: 4.312 kB / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.00477, allocations: 5.906 kB / 0.8806 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.004804, allocations: 7.938 kB / 0.8806 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.005134, allocations: 259.8 kB / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.075e-05/0.005225, allocations: 39.05 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.005251, allocations: 19.69 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.005269, allocations: 3.938 kB / 0.8809 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.005291, allocations: 37.39 kB / 0.881 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.005293, allocations: 0 / 0.881 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001834/0.005476, allocations: 53.72 kB / 0.881 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.005512, allocations: 51.41 kB / 0.8811 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.005597, allocations: 165.9 kB / 0.8812 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.005609, allocations: 29.7 kB / 0.8812 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.005657, allocations: 130.9 kB / 0.8814 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.005679, allocations: 19.83 kB / 0.8814 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.005711, allocations: 23.38 kB / 0.8814 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.005833, allocations: 496.1 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.005857, allocations: 7.938 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.005872, allocations: 3.984 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.005914, allocations: 15.69 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.005916, allocations: 0 / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.08e-05/0.005987, allocations: 45.97 kB / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.006003, allocations: 7.938 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006008, allocations: 48 / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.006025, allocations: 3.984 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.006132, allocations: 12 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.006139, allocations: 0 / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.006164, allocations: 11.92 kB / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.006172, allocations: 4 kB / 0.882 GB, free: 2.215 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 7.116e-05/0.006244, allocations: 156.6 kB / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.006261, allocations: 7.953 kB / 0.8821 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.006377, allocations: 53.61 kB / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.006379, allocations: 0 / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.006383, allocations: 0 / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006386, allocations: 0 / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.006499, allocations: 128.6 kB / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.006502, allocations: 3.938 kB / 0.8823 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.006556, allocations: 11.98 kB / 0.8823 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.006559, allocations: 0 / 0.8823 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.006569, allocations: 4 kB / 0.8823 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.006572, allocations: 7.938 kB / 0.8823 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006573, allocations: 0 / 0.8823 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.006695, allocations: 191.9 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.006705, allocations: 7.953 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.006718, allocations: 4 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.341e-05/0.006761, allocations: 11.92 kB / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.006802, allocations: 4 kB / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.006806, allocations: 0 / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.006857, allocations: 135.2 kB / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006857, allocations: 0 / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001449/0.007002, allocations: 8 kB / 0.8827 GB, free: 1.422 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 0.0001299/0.007132, allocations: 91.25 kB / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.007245, allocations: 27.61 kB / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007246, allocations: 0 / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.007268, allocations: 11.69 kB / 0.8828 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.007493, allocations: 16 kB / 0.8828 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.008078, allocations: 134.3 kB / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.144e-05/0.00812, allocations: 59.34 kB / 0.883 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.008148, allocations: 0 / 0.883 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.008187, allocations: 12.5 kB / 0.883 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of SimCode: time 2.014e-06/0.008189, allocations: 4 kB / 0.883 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of Templates: time 0.002981/0.01117, allocations: 0.7926 MB / 0.8838 GB, free: 228 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.607351534068584]