Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001136, allocations: 102.3 kB / 16.35 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 194.8 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.86/1.86, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002565, allocations: 74.25 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2412, allocations: 114.5 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002036/0.2433, allocations: 0.7018 MB / 0.7855 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.2442, allocations: 0.836 MB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.2443, allocations: 0 / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.2443, allocations: 0 / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.303e-05/0.2444, allocations: 11.86 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.2445, allocations: 11.98 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.296e-05/0.2446, allocations: 43.92 kB / 0.7864 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2447, allocations: 11.98 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.2448, allocations: 23.91 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.2449, allocations: 15.92 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.2449, allocations: 7.938 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.2449, allocations: 7.938 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.245, allocations: 15.92 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.245, allocations: 15.94 kB / 0.7865 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.86e-05/0.2451, allocations: 31.88 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2451, allocations: 8 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2451, allocations: 0 / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2451, allocations: 0 / 0.7865 GB, free: 1.418 MB / 0.6544 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.0005087/0.2456, allocations: 363.4 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2457, allocations: 8.031 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.2457, allocations: 4.844 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2458, allocations: 172.3 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2459, allocations: 8.375 kB / 0.787 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.2459, allocations: 4.375 kB / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.2461, allocations: 74.14 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2461, allocations: 192 / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2462, allocations: 7.875 kB / 0.7871 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2462, allocations: 4 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.2464, allocations: 59.94 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.2468, allocations: 264.9 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.247, allocations: 58.47 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.2471, allocations: 40.92 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.2472, allocations: 7.922 kB / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2472, allocations: 34.56 kB / 0.7876 GB, free: 168 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2472, allocations: 4 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005055/0.2477, allocations: 125.6 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3465/0.5942, allocations: 51.41 kB / 0.7877 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.5944, allocations: 106.6 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.5944, allocations: 26.2 kB / 0.7878 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.5945, allocations: 88.02 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.5945, allocations: 7.25 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.5946, allocations: 13.53 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.778e-05/0.5946, allocations: 317.7 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.5948, allocations: 31.31 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.595, allocations: 34.61 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.5952, allocations: 68.28 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5952, allocations: 9.75 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000311/0.5956, allocations: 98.97 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5956, allocations: 5.562 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5956, allocations: 0 / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.5956, allocations: 2.875 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.5958, allocations: 21.23 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5958, allocations: 0 / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.5959, allocations: 13.06 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.5959, allocations: 2.812 kB / 0.7885 GB, free: 48.38 MB / 0.6544 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 6.001e-05/0.5959, allocations: 114 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.596, allocations: 6.828 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.5963, allocations: 109 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5963, allocations: 0 / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.5963, allocations: 3.344 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5963, allocations: 0.875 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.5965, allocations: 171.8 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5965, allocations: 3.031 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.5966, allocations: 16.78 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.5966, allocations: 0 / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.5966, allocations: 9 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.5966, allocations: 2.25 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5966, allocations: 0 / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.597, allocations: 198.3 kB / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.597, allocations: 79.98 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.597, allocations: 5.562 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.5971, allocations: 19.44 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.5972, allocations: 2.562 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.5972, allocations: 2.906 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.797e-05/0.5972, allocations: 87.88 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5972, allocations: 0 / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002185/0.5974, allocations: 9.656 kB / 0.7893 GB, free: 47.73 MB / 0.6544 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.0001187/0.5976, allocations: 104.7 kB / 0.7894 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.5979, allocations: 66.83 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5979, allocations: 0 / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.598, allocations: 40.8 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.5984, allocations: 11.34 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.5987, allocations: 116.5 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.5988, allocations: 0.679 MB / 0.7903 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.5988, allocations: 3.125 kB / 0.7903 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.5989, allocations: 8.375 kB / 0.7903 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.5989, allocations: 1.125 kB / 0.7903 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.002657/0.6016, allocations: 0.6853 MB / 0.791 GB, free: 46.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)