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.222/1.222, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008911/0.0008911, allocations: 172.8 kB / 325.8 MB, free: 2.691 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.277/1.277, allocations: 205 MB / 0.576 GB, free: 20.99 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.000657/0.0006571, allocations: 80.19 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002692, allocations: 16 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001223/0.1438, allocations: 1.152 MB / 0.8973 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002631/0.1441, allocations: 145.3 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.1442, allocations: 8 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.1442, allocations: 3.938 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.1443, allocations: 7.875 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.1444, allocations: 15.97 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.783e-05/0.1445, allocations: 39.86 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.1445, allocations: 12.27 kB / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.957e-05/0.1446, allocations: 8 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.1446, allocations: 23.91 kB / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1447, allocations: 7.938 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.1447, allocations: 7.938 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.1447, allocations: 0 / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.1447, allocations: 15.92 kB / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.185e-05/0.1448, allocations: 39.8 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1448, allocations: 3.938 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1448, allocations: 0 / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1448, allocations: 0 / 0.8977 GB, free: 66.53 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.0003712/0.1452, allocations: 371.4 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1452, allocations: 12.03 kB / 0.898 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.744e-05/0.1453, allocations: 34.75 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.1453, allocations: 4.938 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.259e-05/0.1454, allocations: 164.3 kB / 0.8982 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1454, allocations: 384 / 0.8982 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.1454, allocations: 4.375 kB / 0.8982 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.1456, allocations: 86.2 kB / 0.8983 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1456, allocations: 3.938 kB / 0.8983 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1456, allocations: 3.984 kB / 0.8983 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.1457, allocations: 3.938 kB / 0.8983 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.1459, allocations: 87.92 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.1461, allocations: 264.9 kB / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1463, allocations: 62.53 kB / 0.8987 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1465, allocations: 60.91 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1465, allocations: 4 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.065e-05/0.1465, allocations: 34.5 kB / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.1465, allocations: 0 / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004488/0.147, allocations: 161.5 kB / 0.899 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.147, allocations: 51.41 kB / 0.899 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.837e-05/0.147, allocations: 113.8 kB / 0.8991 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.1471, allocations: 25.7 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.1471, allocations: 92.12 kB / 0.8992 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.1471, allocations: 15.83 kB / 0.8993 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.1471, allocations: 13.72 kB / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.365e-05/0.1472, allocations: 310.8 kB / 0.8996 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1473, allocations: 47.95 kB / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1474, allocations: 47.91 kB / 0.8997 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.1477, allocations: 100.7 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1477, allocations: 0 / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002688/0.1479, allocations: 117.5 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.148, allocations: 8 kB / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.148, allocations: 3.984 kB / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.148, allocations: 3.938 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1481, allocations: 23.98 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1481, allocations: 0 / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.1482, allocations: 15.98 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1482, allocations: 0 / 0.8999 GB, free: 63.98 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 4.177e-05/0.1482, allocations: 125.7 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.1483, allocations: 0 / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.1486, allocations: 129.5 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1486, allocations: 3.984 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1486, allocations: 0 / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1486, allocations: 0 / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.1487, allocations: 169.6 kB / 0.9003 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1487, allocations: 0 / 0.9003 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.1488, allocations: 23.98 kB / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1488, allocations: 0 / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.1488, allocations: 384 / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1488, allocations: 3.984 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1488, allocations: 4 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.1491, allocations: 223.2 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.1491, allocations: 81.11 kB / 0.9007 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.1492, allocations: 0 / 0.9007 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.1493, allocations: 23.97 kB / 0.9007 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.1493, allocations: 4 kB / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1493, allocations: 0 / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.244e-05/0.1493, allocations: 87.27 kB / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1493, allocations: 0 / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001881/0.1495, allocations: 8 kB / 0.9008 GB, free: 63.01 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.00043/0.15, allocations: 0.7591 MB / 0.9015 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.1503, allocations: 91.92 kB / 0.9016 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1503, allocations: 0 / 0.9016 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1504, allocations: 39.97 kB / 0.9016 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.1506, allocations: 12 kB / 0.9016 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.151, allocations: 168.6 kB / 0.9018 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.73e-05/0.1511, allocations: 0.6809 MB / 0.9025 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.1511, allocations: 7.984 kB / 0.9025 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.1511, allocations: 15.44 kB / 0.9025 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.1511, allocations: 0 / 0.9025 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09256/0.2437, allocations: 1.297 MB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/0.2439, allocations: 215 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/1.736, allocations: 10.11 kB / 0.904 GB, free: 59.73 MB / 0.6042 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)