Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009205/0.0009205, allocations: 178.4 kB / 326.5 MB, free: 2.648 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000757/0.000757, allocations: 90.3 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 15.94 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2297, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001432/0.2312, allocations: 1.149 MB / 0.8979 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002882/0.2315, allocations: 140.5 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.2316, allocations: 0 / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.2316, allocations: 7.938 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.2317, allocations: 3.938 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.2318, allocations: 19.98 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.2319, allocations: 39.86 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.232, allocations: 16.72 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.2321, allocations: 8 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.2322, allocations: 19.91 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2322, allocations: 4 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.2322, allocations: 4 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.2322, allocations: 7.938 kB / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.2323, allocations: 15.92 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.3e-05/0.2323, allocations: 32.09 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2324, allocations: 4 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2324, allocations: 0 / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2324, allocations: 0 / 0.8982 GB, free: 66.65 MB / 0.6042 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.0004532/0.2328, allocations: 359.4 kB / 0.8985 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.595e-05/0.2329, allocations: 15.97 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.2329, allocations: 4.875 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.607e-05/0.2331, allocations: 184.2 kB / 0.8987 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2331, allocations: 384 / 0.8987 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2331, allocations: 4.375 kB / 0.8987 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.2333, allocations: 78.22 kB / 0.8988 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2334, allocations: 192 / 0.8988 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2334, allocations: 7.938 kB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2334, allocations: 0 / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.2337, allocations: 91.86 kB / 0.8989 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.234, allocations: 265 kB / 0.8992 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.2342, allocations: 62.48 kB / 0.8992 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.2343, allocations: 52.91 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.2344, allocations: 0 / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.2344, allocations: 38.56 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.2344, allocations: 0 / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005086/0.2349, allocations: 169.4 kB / 0.8995 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.2349, allocations: 51.41 kB / 0.8995 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.235, allocations: 109.8 kB / 0.8996 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.235, allocations: 25.7 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.2351, allocations: 84.14 kB / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.2351, allocations: 11.84 kB / 0.8997 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.2351, allocations: 9.719 kB / 0.8998 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.2352, allocations: 322.8 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.2353, allocations: 39.97 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2354, allocations: 47.95 kB / 0.9001 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.2357, allocations: 88.73 kB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2357, allocations: 3.938 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002841/0.236, allocations: 125.8 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.236, allocations: 8 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.236, allocations: 3.984 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.236, allocations: 0 / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.2362, allocations: 23.98 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2362, allocations: 0 / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.374e-05/0.2363, allocations: 19.98 kB / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.2363, allocations: 0 / 0.9004 GB, free: 64.16 MB / 0.6042 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 5.509e-05/0.2363, allocations: 121.7 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.2364, allocations: 4 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.2367, allocations: 137.5 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2367, allocations: 0 / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2367, allocations: 0 / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2367, allocations: 0 / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.2369, allocations: 165.6 kB / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2369, allocations: 3.938 kB / 0.9008 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.237, allocations: 27.97 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.237, allocations: 0 / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.237, allocations: 0 / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.237, allocations: 4 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.237, allocations: 0 / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.2373, allocations: 223.3 kB / 0.9011 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.2373, allocations: 85.09 kB / 0.9011 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.2374, allocations: 4 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.2375, allocations: 15.98 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.2375, allocations: 4 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2375, allocations: 4 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.949e-05/0.2376, allocations: 87.27 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2376, allocations: 0 / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001934/0.2378, allocations: 8 kB / 0.9013 GB, free: 63.18 MB / 0.6042 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.0001151/0.2379, allocations: 95.25 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.2382, allocations: 91.92 kB / 0.9014 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2382, allocations: 0 / 0.9014 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.2383, allocations: 55.89 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.2386, allocations: 11.94 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.2389, allocations: 164.7 kB / 0.9017 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.239, allocations: 0.6809 MB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.2391, allocations: 7.438 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2391, allocations: 0 / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.001763/0.2408, allocations: 0.7464 MB / 0.9031 GB, free: 61.28 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)