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/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001127/0.001127, allocations: 180.8 kB / 366.7 MB, free: 1.633 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.889/1.889, allocations: 205.3 MB / 0.626 GB, free: 7.129 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.0008447/0.0008447, allocations: 78.58 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.32e-05, allocations: 8 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.907/0.9071, allocations: 116.3 MB / 0.9734 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2575/1.165, allocations: 137.8 MB / 1.108 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.165, allocations: 68.77 kB / 1.108 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003525/1.168, allocations: 0.8812 MB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.854e-06/1.168, allocations: 0.75 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.939e-06/1.169, allocations: 4 kB / 1.109 GB, free: 11.28 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005686/1.169, allocations: 362.3 kB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/1.169, allocations: 12.03 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/1.169, allocations: 3.906 kB / 1.109 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/1.169, allocations: 171.7 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/1.169, allocations: 1 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/1.169, allocations: 4 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001175/1.17, allocations: 25 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/1.17, allocations: 42.22 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.17, allocations: 1.125 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/1.17, allocations: 0 / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/1.17, allocations: 0 / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/1.17, allocations: 301 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.996e-05/1.171, allocations: 28.14 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/1.171, allocations: 12.86 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/1.171, allocations: 4 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/1.171, allocations: 36 kB / 1.11 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/1.171, allocations: 0 / 1.11 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002368/1.171, allocations: 47.09 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.171, allocations: 52.69 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.052e-05/1.171, allocations: 104.1 kB / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/1.171, allocations: 26.73 kB / 1.11 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/1.171, allocations: 92.12 kB / 1.11 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/1.171, allocations: 11.75 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/1.171, allocations: 0.6562 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.171, allocations: 319.3 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/1.171, allocations: 13.22 kB / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/1.171, allocations: 4 kB / 1.11 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.436e-05/1.172, allocations: 11.98 kB / 1.111 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/1.172, allocations: 3.281 kB / 1.111 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001367/1.172, allocations: 45.7 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.172, allocations: 8 kB / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.172, allocations: 5.125 kB / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.172, allocations: 0 / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/1.172, allocations: 23.97 kB / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.172, allocations: 3.094 kB / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/1.172, allocations: 15.98 kB / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/1.172, allocations: 0 / 1.111 GB, free: 9.367 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.167e-05/1.172, allocations: 108.9 kB / 1.111 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001466/1.172, allocations: 61.59 kB / 1.111 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/1.172, allocations: 0 / 1.111 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/1.173, allocations: 58.03 kB / 1.111 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.173, allocations: 6.938 kB / 1.111 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.173, allocations: 0 / 1.111 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.173, allocations: 0 / 1.111 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/1.173, allocations: 146.2 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.173, allocations: 0 / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/1.173, allocations: 27.92 kB / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.173, allocations: 288 / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/1.173, allocations: 2.5 kB / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.173, allocations: 0 / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.173, allocations: 0 / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/1.173, allocations: 155.4 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/1.173, allocations: 81.09 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/1.173, allocations: 0 / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/1.174, allocations: 23.98 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/1.174, allocations: 4 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/1.174, allocations: 0 / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.084e-05/1.174, allocations: 87.27 kB / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/1.174, allocations: 0 / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003768/1.174, allocations: 8 kB / 1.111 GB, free: 8.52 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005719/1.175, allocations: 0.6876 MB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001272/1.175, allocations: 24 kB / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.175, allocations: 0 / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.638e-05/1.175, allocations: 15.84 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/1.175, allocations: 7.984 kB / 1.112 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/1.176, allocations: 108.1 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/1.176, allocations: 0.6846 MB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.341e-05/1.176, allocations: 0 / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/1.176, allocations: 11.44 kB / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/1.176, allocations: 0 / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/1.197, allocations: 0.9614 MB / 1.114 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.197, allocations: 147.5 kB / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.453/2.65, allocations: 0 / 1.114 GB, free: 5.793 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)