Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.3 MB / 308.1 MB, free: 4.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001634/0.001634, allocations: 180.5 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205 MB / 0.6353 GB, free: 9.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009506/0.0009506, allocations: 96.45 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2521, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.0023/0.2545, allocations: 0.7168 MB / 0.9829 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2556, allocations: 0.8048 MB / 0.9837 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.2557, allocations: 4 kB / 0.9837 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.2557, allocations: 0 / 0.9837 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.2558, allocations: 3.938 kB / 0.9837 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.256, allocations: 7.984 kB / 0.9837 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.2561, allocations: 27.94 kB / 0.9838 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2562, allocations: 7.984 kB / 0.9838 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.2563, allocations: 15.92 kB / 0.9838 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.2564, allocations: 7.984 kB / 0.9838 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2564, allocations: 0 / 0.9838 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.2564, allocations: 4 kB / 0.9838 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.2565, allocations: 4 kB / 0.9838 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.2565, allocations: 3.938 kB / 0.9838 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.125e-05/0.2566, allocations: 19.91 kB / 0.9838 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2566, allocations: 0 / 0.9838 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.11e-07/0.2566, allocations: 4 kB / 0.9838 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2566, allocations: 4 kB / 0.9838 GB, free: 8.738 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005072/0.2571, allocations: 339.7 kB / 0.9842 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2572, allocations: 8.031 kB / 0.9842 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.2572, allocations: 0.9375 kB / 0.9842 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.2574, allocations: 176.3 kB / 0.9843 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2574, allocations: 384 / 0.9843 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.2574, allocations: 4.375 kB / 0.9843 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2576, allocations: 58.11 kB / 0.9844 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2576, allocations: 192 / 0.9844 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.2576, allocations: 7.938 kB / 0.9844 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.2576, allocations: 0 / 0.9844 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.2578, allocations: 31.97 kB / 0.9844 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.2582, allocations: 245 kB / 0.9847 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2583, allocations: 46.44 kB / 0.9847 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.2584, allocations: 20.91 kB / 0.9847 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.2584, allocations: 0 / 0.9847 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.2585, allocations: 34.55 kB / 0.9848 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.2585, allocations: 0 / 0.9848 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003589/0.2588, allocations: 81.66 kB / 0.9849 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.2589, allocations: 55.39 kB / 0.9849 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.259, allocations: 97.86 kB / 0.985 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.259, allocations: 29.64 kB / 0.985 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.2591, allocations: 84.14 kB / 0.9851 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.2591, allocations: 3.906 kB / 0.9851 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.2592, allocations: 29.77 kB / 0.9851 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2593, allocations: 310.8 kB / 0.9854 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.2594, allocations: 19.98 kB / 0.9855 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.2595, allocations: 11.98 kB / 0.9855 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.2596, allocations: 40.88 kB / 0.9855 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2596, allocations: 4 kB / 0.9855 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.2599, allocations: 65.61 kB / 0.9856 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2599, allocations: 4 kB / 0.9856 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2599, allocations: 3.984 kB / 0.9856 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2599, allocations: 0 / 0.9856 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.26, allocations: 12 kB / 0.9856 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.26, allocations: 3.938 kB / 0.9856 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.2601, allocations: 12.02 kB / 0.9856 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.2601, allocations: 0 / 0.9856 GB, free: 6.707 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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 8.456e-05/0.2602, allocations: 117.8 kB / 0.9857 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.2602, allocations: 3.906 kB / 0.9857 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.2605, allocations: 68.78 kB / 0.9858 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2605, allocations: 3.984 kB / 0.9858 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2605, allocations: 4.219 kB / 0.9858 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2605, allocations: 4 kB / 0.9858 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.2607, allocations: 161.6 kB / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2607, allocations: 0 / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.2607, allocations: 7.984 kB / 0.986 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2608, allocations: 0 / 0.986 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2608, allocations: 4 kB / 0.986 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2608, allocations: 3.938 kB / 0.986 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2608, allocations: 3.938 kB / 0.986 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.2613, allocations: 0.72 MB / 0.9867 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.2614, allocations: 85.05 kB / 0.9868 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.2614, allocations: 0 / 0.9868 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.2615, allocations: 11.98 kB / 0.9868 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.2615, allocations: 4.031 kB / 0.9868 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2616, allocations: 3.938 kB / 0.9868 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.2616, allocations: 83.22 kB / 0.9869 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2616, allocations: 0 / 0.9869 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002981/0.2619, allocations: 4 kB / 0.9869 GB, free: 5.285 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.000142/0.2621, allocations: 103.2 kB / 0.987 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.2623, allocations: 35.97 kB / 0.987 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2623, allocations: 0 / 0.987 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.2624, allocations: 27.91 kB / 0.987 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.2627, allocations: 5.219 kB / 0.987 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.2631, allocations: 214.2 kB / 0.9872 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2633, allocations: 0.6811 MB / 0.9879 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.2633, allocations: 0 / 0.9879 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.2634, allocations: 7.438 kB / 0.9879 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.2634, allocations: 0 / 0.9879 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of Templates: time 0.002113/0.2655, allocations: 368.6 kB / 0.9882 GB, free: 3.789 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)