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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 175.8 kB / 316.3 MB, free: 3.215 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.398/1.398, allocations: 205.3 MB / 0.5671 GB, free: 15.78 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.0007604/0.0007604, allocations: 93.22 kB / 0.6714 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.643e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2216, allocations: 106.3 MB / 0.8853 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7129/0.9345, allocations: 131.7 MB / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.9348, allocations: 71.7 kB / 1.014 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002511/0.9373, allocations: 0.9157 MB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9374, allocations: 0 / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.9374, allocations: 0 / 1.015 GB, free: 4.75 MB / 0.6355 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.000452/0.9378, allocations: 365.7 kB / 1.015 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.9379, allocations: 8.031 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.9379, allocations: 7.906 kB / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.9381, allocations: 170.6 kB / 1.015 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.9381, allocations: 4 kB / 1.015 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.9381, allocations: 0 / 1.015 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.827e-05/0.9382, allocations: 22.44 kB / 1.015 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.9383, allocations: 44.06 kB / 1.015 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.9383, allocations: 0 / 1.015 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.9384, allocations: 0 / 1.015 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.9384, allocations: 4 kB / 1.015 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.9389, allocations: 278.9 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.939, allocations: 33.2 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.939, allocations: 20.3 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.939, allocations: 0 / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.9391, allocations: 30.56 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.705e-06/0.9391, allocations: 0 / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001771/0.9393, allocations: 54.5 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.9393, allocations: 58.97 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.9394, allocations: 103.8 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.9394, allocations: 25.7 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.9395, allocations: 87.5 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.9395, allocations: 7.844 kB / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.9395, allocations: 0 / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9396, allocations: 322.5 kB / 1.016 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.9396, allocations: 7.312 kB / 1.016 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.9397, allocations: 7.812 kB / 1.016 GB, free: 3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.9397, allocations: 11.92 kB / 1.016 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9397, allocations: 4 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.951e-05/0.9398, allocations: 57.05 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.9398, allocations: 4 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.9398, allocations: 0 / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.9398, allocations: 4.641 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.94, allocations: 19.98 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.94, allocations: 0 / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.868e-05/0.9401, allocations: 19.98 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.9401, allocations: 0 / 1.017 GB, free: 2.883 MB / 0.6355 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 6.944e-05/0.9402, allocations: 108.9 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.679e-05/0.9403, allocations: 52.06 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.9403, allocations: 11.84 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.9404, allocations: 59.7 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.9404, allocations: 3.938 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9405, allocations: 4 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9405, allocations: 0 / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.9406, allocations: 149 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9406, allocations: 0 / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.9407, allocations: 19.98 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9407, allocations: 0 / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.9408, allocations: 0.875 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.9408, allocations: 3.984 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9408, allocations: 0 / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.9409, allocations: 153.9 kB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.9409, allocations: 85.02 kB / 1.017 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.941, allocations: 0 / 1.017 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.9411, allocations: 22.8 kB / 1.017 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.9411, allocations: 3.984 kB / 1.017 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.9411, allocations: 4 kB / 1.017 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.9412, allocations: 87.03 kB / 1.017 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9412, allocations: 0 / 1.017 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002015/0.9414, allocations: 4 kB / 1.017 GB, free: 2.066 MB / 0.6355 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.0003925/0.9418, allocations: 0.6864 MB / 1.018 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.762e-05/0.9419, allocations: 22.81 kB / 1.018 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9419, allocations: 0 / 1.018 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.9419, allocations: 15.48 kB / 1.018 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.9422, allocations: 6.062 kB / 1.018 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.9425, allocations: 104.8 kB / 1.018 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.9428, allocations: 0.6807 MB / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.9428, allocations: 8 kB / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.9428, allocations: 17.12 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.9428, allocations: 0 / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.9636, allocations: 0.9676 MB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/0.964, allocations: 153.7 kB / 1.02 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/2.409, allocations: 6.953 kB / 1.02 GB, free: 15.33 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)