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.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.001418/0.001418, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 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.001619/0.001619, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.9188/0.9188, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.867/1.867, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 3.466e-06/3.466e-06, allocations: 0 / 0.7872 GB, free: 11.32 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.477e-05, allocations: 6.312 kB / 0.7872 GB, free: 11.31 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001618/0.001653, allocations: 0.7154 MB / 0.7879 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.002604, allocations: 0.8864 MB / 0.7887 GB, free: 9.719 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.002643, allocations: 0.5625 kB / 0.7887 GB, free: 9.719 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.002675, allocations: 9.219 kB / 0.7887 GB, free: 9.711 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.002765, allocations: 7.922 kB / 0.7887 GB, free: 9.703 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.003012, allocations: 19.97 kB / 0.7888 GB, free: 9.684 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.627e-05/0.003108, allocations: 44.92 kB / 0.7888 GB, free: 9.641 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.003212, allocations: 11.98 kB / 0.7888 GB, free: 9.629 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.969e-05/0.003302, allocations: 23.92 kB / 0.7888 GB, free: 9.605 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.003344, allocations: 13.42 kB / 0.7889 GB, free: 9.594 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.003365, allocations: 7.984 kB / 0.7889 GB, free: 9.586 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.758e-05/0.003413, allocations: 4 kB / 0.7889 GB, free: 9.582 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.003431, allocations: 19.86 kB / 0.7889 GB, free: 9.562 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.003454, allocations: 8.531 kB / 0.7889 GB, free: 9.555 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003575, allocations: 44.62 kB / 0.7889 GB, free: 9.512 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.003578, allocations: 0 / 0.7889 GB, free: 9.512 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003579, allocations: 0.7188 kB / 0.7889 GB, free: 9.512 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.003584, allocations: 0 / 0.7889 GB, free: 9.512 MB / 0.698 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.0005652/0.004149, allocations: 386.2 kB / 0.7893 GB, free: 9.098 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.004191, allocations: 8.031 kB / 0.7893 GB, free: 9.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.004299, allocations: 12.89 kB / 0.7893 GB, free: 9.078 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/0.004389, allocations: 112.6 kB / 0.7894 GB, free: 8.941 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.004403, allocations: 384 / 0.7894 GB, free: 8.941 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.004412, allocations: 1.344 kB / 0.7894 GB, free: 8.941 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.004568, allocations: 74.92 kB / 0.7895 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.004577, allocations: 4.875 kB / 0.7895 GB, free: 8.855 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.004588, allocations: 384 / 0.7895 GB, free: 8.855 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.004595, allocations: 2.844 kB / 0.7895 GB, free: 8.855 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.004628, allocations: 11.94 kB / 0.7895 GB, free: 8.844 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.004967, allocations: 255.8 kB / 0.7898 GB, free: 8.559 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.285e-05/0.00505, allocations: 39.05 kB / 0.7898 GB, free: 8.508 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.005078, allocations: 15.69 kB / 0.7898 GB, free: 8.488 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.005096, allocations: 3.938 kB / 0.7898 GB, free: 8.484 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.005118, allocations: 39.14 kB / 0.7899 GB, free: 8.438 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.734e-06/0.00512, allocations: 0 / 0.7899 GB, free: 8.438 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001885/0.005308, allocations: 49.72 kB / 0.7899 GB, free: 8.383 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.005342, allocations: 51.41 kB / 0.79 GB, free: 8.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.005427, allocations: 165.9 kB / 0.7901 GB, free: 8.141 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.005438, allocations: 30.3 kB / 0.7901 GB, free: 8.105 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.005488, allocations: 135.4 kB / 0.7903 GB, free: 7.969 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.005511, allocations: 7.953 kB / 0.7903 GB, free: 7.961 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.005541, allocations: 24.48 kB / 0.7903 GB, free: 7.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.00567, allocations: 496.1 kB / 0.7908 GB, free: 7.434 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.005692, allocations: 11.88 kB / 0.7908 GB, free: 7.422 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.005708, allocations: 5.375 kB / 0.7908 GB, free: 7.418 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.087e-05/0.005749, allocations: 15.67 kB / 0.7908 GB, free: 7.398 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.005751, allocations: 0 / 0.7908 GB, free: 7.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.847e-05/0.00583, allocations: 47.41 kB / 0.7909 GB, free: 7.348 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.005848, allocations: 13.64 kB / 0.7909 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.005854, allocations: 0 / 0.7909 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.005868, allocations: 4.328 kB / 0.7909 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.005956, allocations: 4 kB / 0.7909 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005962, allocations: 5.375 kB / 0.7909 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.005987, allocations: 11.92 kB / 0.7909 GB, free: 7.312 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.005993, allocations: 0 / 0.7909 GB, free: 7.312 MB / 0.698 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.402e-05/0.006067, allocations: 158.5 kB / 0.791 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.006083, allocations: 4 kB / 0.791 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.006209, allocations: 57.59 kB / 0.7911 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.006212, allocations: 4 kB / 0.7911 GB, free: 7.078 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.006217, allocations: 2.594 kB / 0.7911 GB, free: 7.078 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.00622, allocations: 0 / 0.7911 GB, free: 7.078 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.006333, allocations: 124.6 kB / 0.7912 GB, free: 6.922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.006335, allocations: 0 / 0.7912 GB, free: 6.922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.006381, allocations: 15.98 kB / 0.7912 GB, free: 6.906 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.006385, allocations: 0 / 0.7912 GB, free: 6.906 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.006393, allocations: 0 / 0.7912 GB, free: 6.906 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.006396, allocations: 4.469 kB / 0.7912 GB, free: 6.902 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.006397, allocations: 0 / 0.7912 GB, free: 6.902 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.006516, allocations: 200.5 kB / 0.7914 GB, free: 6.688 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.006526, allocations: 4 kB / 0.7914 GB, free: 6.684 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.006537, allocations: 0.5312 kB / 0.7914 GB, free: 6.684 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.478e-05/0.006582, allocations: 9.594 kB / 0.7915 GB, free: 6.676 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.006625, allocations: 7.984 kB / 0.7915 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.006628, allocations: 0 / 0.7915 GB, free: 6.668 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.00667, allocations: 131.2 kB / 0.7916 GB, free: 6.539 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00667, allocations: 0.5 kB / 0.7916 GB, free: 6.539 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001386/0.006809, allocations: 8 kB / 0.7916 GB, free: 6.531 MB / 0.698 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.0001105/0.006919, allocations: 92.62 kB / 0.7917 GB, free: 6.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.007031, allocations: 31.61 kB / 0.7917 GB, free: 6.395 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.007033, allocations: 5.094 kB / 0.7917 GB, free: 6.391 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.223e-05/0.007055, allocations: 11.69 kB / 0.7917 GB, free: 6.375 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.00727, allocations: 4.906 kB / 0.7917 GB, free: 6.371 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.007802, allocations: 148.3 kB / 0.7919 GB, free: 6.199 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.007843, allocations: 55.34 kB / 0.7919 GB, free: 6.125 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.007871, allocations: 4.844 kB / 0.7919 GB, free: 6.121 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.007904, allocations: 8.5 kB / 0.7919 GB, free: 6.113 MB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/0.007905, allocations: 1.312 kB / 0.7919 GB, free: 6.113 MB / 0.698 GB Notification: Performance of Templates: time 0.002865/0.01077, allocations: 0.7934 MB / 0.7927 GB, free: 5.355 MB / 0.698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] 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","",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.102040041703731]