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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_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_maint.7.0.x_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.01008/0.01008, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002106/0.002107, allocations: 190.6 kB / 16.67 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.711/1.711, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.002021/0.002021, allocations: 71.91 kB / 0.7258 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9259/0.9279, allocations: 104.7 MB / 0.8281 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002807/0.9308, allocations: 1.414 MB / 0.8295 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.000426/0.9312, allocations: 156.3 kB / 0.8296 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.9313, allocations: 0 / 0.8296 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.9313, allocations: 4 kB / 0.8296 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.9314, allocations: 7.875 kB / 0.8296 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.9316, allocations: 19.98 kB / 0.8297 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.538e-05/0.9317, allocations: 43.91 kB / 0.8297 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.9318, allocations: 7.984 kB / 0.8297 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 7.673e-05/0.9319, allocations: 27.92 kB / 0.8297 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.932, allocations: 15.92 kB / 0.8298 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.932, allocations: 7.938 kB / 0.8298 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.932, allocations: 4 kB / 0.8298 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.932, allocations: 7.984 kB / 0.8298 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.9321, allocations: 19.88 kB / 0.8298 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.9322, allocations: 43.84 kB / 0.8298 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9322, allocations: 0 / 0.8298 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9322, allocations: 0 / 0.8298 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.9322, allocations: 0 / 0.8298 GB, free: 0.8008 MB / 0.6231 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.0005916/0.9328, allocations: 359 kB / 0.8302 GB, free: 412 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.9329, allocations: 8.031 kB / 0.8302 GB, free: 404 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.9329, allocations: 12.78 kB / 0.8302 GB, free: 392 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.9331, allocations: 170.6 kB / 0.8304 GB, free: 184 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.9331, allocations: 384 / 0.8304 GB, free: 184 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.9331, allocations: 4.375 kB / 0.8304 GB, free: 180 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.9334, allocations: 66.22 kB / 0.8304 GB, free: 108 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.9334, allocations: 4.188 kB / 0.8304 GB, free: 104 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.9334, allocations: 11.88 kB / 0.8304 GB, free: 92 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.9334, allocations: 0 / 0.8304 GB, free: 92 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.9337, allocations: 63.92 kB / 0.8305 GB, free: 28 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.9341, allocations: 260.9 kB / 0.8308 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.9344, allocations: 66.42 kB / 0.8308 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.9345, allocations: 36.91 kB / 0.8309 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.9346, allocations: 7.938 kB / 0.8309 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.9346, allocations: 30.56 kB / 0.8309 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.9346, allocations: 4 kB / 0.8309 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.000568/0.9352, allocations: 125.6 kB / 0.831 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.9352, allocations: 51.41 kB / 0.8311 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.9353, allocations: 117.8 kB / 0.8312 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.9353, allocations: 25.7 kB / 0.8312 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.9354, allocations: 92.08 kB / 0.8313 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.9354, allocations: 11.81 kB / 0.8313 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.9355, allocations: 9.719 kB / 0.8313 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9356, allocations: 322.8 kB / 0.8316 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.9357, allocations: 27.97 kB / 0.8316 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.9359, allocations: 39.89 kB / 0.8317 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.9362, allocations: 68.78 kB / 0.8317 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.9362, allocations: 3.938 kB / 0.8317 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003117/0.9365, allocations: 97.95 kB / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.9365, allocations: 4 kB / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.9365, allocations: 4 kB / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.9365, allocations: 0 / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.9367, allocations: 11.98 kB / 0.8319 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.479e-05/0.9367, allocations: 0 / 0.8319 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/0.9368, allocations: 11.98 kB / 0.8319 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.9368, allocations: 7.969 kB / 0.8319 GB, free: 14.48 MB / 0.6387 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 8.325e-05/0.9369, allocations: 126.8 kB / 0.832 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.9369, allocations: 3.906 kB / 0.832 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.9373, allocations: 105.5 kB / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.9373, allocations: 0 / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9373, allocations: 4 kB / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9373, allocations: 0 / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.9375, allocations: 165.6 kB / 0.8323 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9375, allocations: 11.94 kB / 0.8323 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.9376, allocations: 19.97 kB / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9376, allocations: 0 / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.9376, allocations: 0 / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.9376, allocations: 7.938 kB / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9376, allocations: 0 / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.938, allocations: 197.5 kB / 0.8325 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.9381, allocations: 85 kB / 0.8326 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.9381, allocations: 0 / 0.8326 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.9382, allocations: 15.98 kB / 0.8326 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.9383, allocations: 4 kB / 0.8326 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.9383, allocations: 0 / 0.8326 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.9383, allocations: 87.27 kB / 0.8327 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9383, allocations: 4 kB / 0.8327 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002189/0.9386, allocations: 8 kB / 0.8327 GB, free: 13.55 MB / 0.6387 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.0001514/0.9387, allocations: 99.25 kB / 0.8328 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.9391, allocations: 67.86 kB / 0.8328 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9391, allocations: 0 / 0.8328 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.9392, allocations: 43.95 kB / 0.8329 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.9396, allocations: 11.94 kB / 0.8329 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.9399, allocations: 131.5 kB / 0.833 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.9402, allocations: 0.6844 MB / 0.8337 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.9402, allocations: 4 kB / 0.8337 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.9403, allocations: 11.44 kB / 0.8337 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.9403, allocations: 0 / 0.8337 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of Templates: time 0.002911/0.9432, allocations: 0.6873 MB / 0.8344 GB, free: 11.77 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)